Unable to connect to remote host: Connection refused

Posted by Parsival on Thu 15 Jan 2009 06:31 PM — 3 posts, 20,978 views.

#0
I'm certain this is just as a result of my unfamiliarity with Linux and networking in general..so thank you for your patience with me.

I've been able to compile the SmaugFUSS 1.9 server one Ubuntu 8.1, and I've been successful in running it with no problems (thanks to previous questions posted here!), and I can connect to the mud via 'telnet localhost 4000' with no issues...

So I determined my IP address by hitting http://whatismyip.org and decided I'd like to test a remote connection to the server.

I can ping the IP address just fine, I can tracroute and find the IP address as well, but if I go to a terminal session and 'telnet xxx.xxx.xxx.xxx 4000' I see:

telnet: Unable to connect to remote host: Connection refused

I can only assume that there's some setting that I've missed that is causing the system to refuse outside telnet connections. Is this the case, and if so, how do I correct it?

Thanks for your help in advance! Clearly, I'm a newbie...

Steve-o
USA #1
So others cannot connect via your external IP?

Then something is blocking the port (firewall, etc).
Australia Forum Administrator #2
Probably you need to set up port forwarding.

See: http://portforward.com/default.htm

If you had to go to http://whatismyip.org to find your IP address, it sounds like your router is using NAT, which means it doesn't know to forward incoming connections to your particular PC, unless you tell it to. That site should clear things up.