aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: webserver could not create socket  (Read 2213 times)

crunix

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.breccebianche.com
webserver could not create socket
« on: November 01, 2004, 01:59:58 PM »

After upgrading from rc5 to rc7 (thanks to aMule Help Linux Forum) i got the following
error while starting amuleweb:
-----CUT HERE-------
amuleweb -p 4712
Enter password for mule connection (return if no pass defined):

Creating client...
Now, doing connection....
Using host 'localhost' port:4711
Trying to connect (timeout = 10 sec)...
Succeeded! Connection established.
---------------------------------
|       aMule Web Server        |
---------------------------------
Use 'Help' for command list
Web Server: Started

WSThread: Thread started
WSThread: created service
WSThread: could not create socket on :4711

----END CUT---

My preferences (Remote controls) show that :

Enabled server @ 4711
Enabled GZip compression
Enabled Low rights User

Accept External Connection using TCP Port 4712
Use TCP Ports instead of unix local sockets
Don't use password  

I have read and followed all the instructions at
http://www.amule.org/wiki/index.php/Webserver

any hints ?

thanks in advance
crunix
« Last Edit: November 01, 2004, 02:03:52 PM by crunix »
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: webserver could not create socket
« Reply #1 on: November 01, 2004, 02:49:10 PM »

Maybe yuo have another aMule already running with an open socket on that port?
Logged

lfroen

  • Guest
Re: webserver could not create socket
« Reply #2 on: November 01, 2004, 04:43:37 PM »

Run as root:

netstat -nap | grep 4711

And you will see what program is using that port
Logged

crunix

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.breccebianche.com
Re: webserver could not create socket
« Reply #3 on: November 01, 2004, 10:09:36 PM »

there were no other program using that socket btw reinstalling
everything seemed to be a good solution...now everything works fine.
 :rolleyes: hope this will be my last troubleshooting-message :P

thanks guys
Logged