Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ Unable to connect to remote host: Connection refused

Unable to connect to remote host: Connection refused

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Parsival   (6 posts)  Bio
Date Thu 15 Jan 2009 06:31 PM (UTC)
Message
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
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Thu 15 Jan 2009 06:39 PM (UTC)
Message
So others cannot connect via your external IP?

Then something is blocking the port (firewall, etc).

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 16 Jan 2009 04:17 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


17,627 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.