aMule Forum

English => aMule Help => Topic started by: suprpp on December 28, 2005, 01:37:33 AM

Title: Can't connect to web interface
Post by: suprpp on December 28, 2005, 01:37:33 AM
I installed amuled and amuleweb from source.

I start amule like this:
Code: [Select]
amuled &
amuleweb &

This is the result of my netstat:
Code: [Select]
home:~# netstat -nap | grep amule
tcp        0      0 0.0.0.0:4662            0.0.0.0:*               LISTEN     23834/amuled
udp        0      0 0.0.0.0:4665            0.0.0.0:*                          23834/amuled
udp        0      0 0.0.0.0:4672            0.0.0.0:*                          23834/amuled
unix  2      [ ACC ]     STREAM     LISTENING     81408    23834/amuled        /root/.aMule/muleconn

I really don't understand where I failed so miserably... any ideas?
Title: RE: Can't connect to web interface
Post by: suprpp on December 28, 2005, 01:38:48 AM
PS: I'd post amule.conf and remote.conf too, but I get an error from a browser (I  tried FF, Opera and IE). How exactly do I post my .conf file?

PS2: I'm posting my settings somewhere else, since I can't post em... here are the links:
Amule.conf.txt (http://avtera.neovizija.com/amule/amule.conf.txt)
Amule.conf.txt (http://avtera.neovizija.com/amule/remote.conf.txt)
Title: Re: Can't connect to web interface
Post by: ken on December 28, 2005, 04:14:18 AM
You didn't supply an "External Connections" password (ECPassword).  As a security feature, amuled won't enable external connections unless you provide a password.  This password should be an md5sum of your desired password.  Use the command:

echo -n yourpasswordhere | md5sum | cut -d ' ' -f 1

to get the proper value.

Also, in the "[WebServer]" section of amule.conf, you have "Enabled=1".  This tells amuled to run amuleweb automatically.  With this setting, you shouldn't need to run amuleweb yourself at all.  If you decide you'd prefer to run it yourself, then you need to put the EC password (the md5sum, again) in the remote.conf, in the "[EC]" section, for the key "Password".

Edit: by the way, you did have an ECPassword key in your remote.conf (where it won't be understood).  You ought to pick a new password now, since that one has been published to the public.  ;)
Title: Re: Can't connect to web interface
Post by: stefanero on December 28, 2005, 06:33:53 AM
ken we have a wiki page :P

btw also when you start amuleweb, and you want to send it into the background start it with

amuleweb -q &

otehrwise it wont work