aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Unable to connect to the specified host  (Read 2309 times)

juice99

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Unable to connect to the specified host
« 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?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Unable to connect to the specified host
« Reply #1 on: January 22, 2005, 07:24:06 PM »

read ;) the webserver howto and you will understand what todo ;)

http://wiki.amule.org

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

staenker

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Unable to connect to the specified host
« Reply #2 on: January 22, 2005, 09:02:34 PM »

i have the same problem. how can i configure amuled without X?
« Last Edit: January 22, 2005, 09:04:48 PM by staenker »
Logged
your ad here

juice99

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: Unable to connect to the specified host
« Reply #3 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.
« Last Edit: January 22, 2005, 09:38:29 PM by juice99 »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Unable to connect to the specified host
« Reply #4 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!
Logged