aMule Forum

English => aMule Help => Topic started by: juice99 on January 22, 2005, 05:56:33 PM

Title: Unable to connect to the specified host
Post by: juice99 on January 22, 2005, 05:56:33 PM
my amuled is running, and im trying to start amuleweb, and i get this:
Creating client...
Now, doing connection....
Using host 'localhost' port:4712
Trying to connect (timeout = 10 sec)...
Connection Failed. Unable to connect to the specified host

so my 4712 is closed, why is that? i thought if amuled is running, it should open this port?
Title: Re: Unable to connect to the specified host
Post by: stefanero on January 22, 2005, 07:24:06 PM
read ;) the webserver howto and you will understand what todo ;)

http://wiki.amule.org

stefanero
Title: Re: Unable to connect to the specified host
Post by: staenker on January 22, 2005, 09:02:34 PM
i have the same problem. how can i configure amuled without X?
Title: Re: Unable to connect to the specified host
Post by: juice99 on January 22, 2005, 09:31:48 PM
i read it, done what it said (which means that i didnt change anything, becouse i ran few CVS before without problems)

of course i still could forget something, but, when i was first configuring amule (few weeks ago) i did:
1) cp -r src/aMule.tmpl src/webserver/ ~/.aMule/
2) AcceptExternalConnections=1
3) ECUseTCPPort=1

i then run amuled, which works fine, and then start ./amuleweb, which cant connect.

im pretty sure i did the exact thing few weeks ago and everything was fine. (well maybe not sure, but i think...)
anything else i should do?

also:
ECPort=4712
Port=4711

and also:
debian:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

also, compiled with hmm.. --disable-monolith --enable-webserver and --enable-daemon, something like that.... with wxBase 2.5.3 installed.
Title: Re: Unable to connect to the specified host
Post by: phoenix on January 23, 2005, 02:44:42 PM
juice99,

Did you put the external connections password in the ~/.eMule file? I don't know if that is the problem, but newer versions of aMule will not enable external connections without an EC password defined.

[ExternalConnect]
AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=4712
ECPassword=md5hashmd5hashmd5hashmd5hash

The password can be obtained like that:

echo -n "THEPASWORDYOUWANT" | md5sum | cut -d " " -f 1

Cheers!