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 ➜ MUDs ➜ General ➜ Muds and Port Ranges

Muds and Port Ranges

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


Posted by SarahD   (3 posts)  Bio
Date Fri 19 Apr 2002 04:51 AM (UTC)
Message
I'm trying to set up a Mud, and am having connection problems. Using a Linksys router, using winmoo.
While people from within my network have no problems connecting, people from the internet cannot successfully connect.
Upon speaking to the tech support people at Linksys, what they told me was that the mud was undoubtably using a series of ports, as opposed to just the one that I have it running on (in my case, 777).
So...has anyone else had a similar problem with a Linksys router? Is it possible that my mud is actually needing a series of ports, rather than just the one it's listening on? Any ideas?
Thank you,
Sarah
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 19 Apr 2002 08:01 AM (UTC)

Amended on Fri 19 Apr 2002 08:08 AM (UTC) by Nick Gammon

Message
MUDs generally only need one port, although some support extra ports for admins, building, PK etc.

I doubt this is the problem, and in any case, what of it? What difference does it make how many ports it needs?

One possible problem is that ports under 1024 are reserved for system functions, I think, which is why most MUDs use ports like 4000 up.

Try a higher port number.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 19 Apr 2002 11:33 AM (UTC)
Message
Another possibility worth exploring is whether you are on a network which uses NAT (Network Address Translation). If so, incoming connections can be a problem because they end up at the router, not your PC.

What is your IP address? - the numbers, eg. 123.212.22.13

We can tell from that whether you are likely behind a NAT router. If you are, you may need to arrange for "port forwarding" to forward incoming connections to your PC.

- Nick Gammon

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

Posted by SarahD   (3 posts)  Bio
Date Reply #3 on Tue 23 Apr 2002 03:37 AM (UTC)
Message
IP address is 192.74.1.101
My router settings do have the option for port forwarding, and I had been forwarding the one port that I was running the mud on to the computer that it was running on (ip address above.) I tried using ports 5111, 6098, and 900, with no success. The internet user that I've been testing with tried connecting to both the ip address of the router, and of this individual computer.
Thank you very much for your assistance. =)
~Sarah
Top

Posted by SarahD   (3 posts)  Bio
Date Reply #4 on Tue 23 Apr 2002 03:38 AM (UTC)
Message
Port 900 above should have been 9000.
~Sarah
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Tue 23 Apr 2002 05:53 AM (UTC)
Message
Hmmm - I'm wondering about two parts of that message. First, you say your IP address is 192.74.1.101. This sounds like a "real" address, not one using port forwarding.

RFC 1918 says that three ranges of address are to be used for private (internal) networks, there are:

Quote:

The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets:


     10.0.0.0        -   10.255.255.255  (10/8 prefix)
     172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
     192.168.0.0     -   192.168.255.255 (192.168/16 prefix)



Your address is not in that range. Thus you should have a "real" address, and are not using NAT. If you are not using NAT then you shouldn't need to forward the port, the address should be accessible in its own right.

However if you *are* behind a NAT router, then you have a problem. Your internal address 192.74.1.101 and the "real" 192.74.1.101 address are going to be different, thus someone connecting to 192.74.1.101 won't end up at your PC.

However if you are using port forwarding, and someone connects to the router address, then they have some hope. However it is possible the port forwarding is not working correctly.

- Nick Gammon

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

Posted by Magnus   (1 post)  Bio
Date Reply #6 on Tue 30 Apr 2002 02:33 AM (UTC)
Message
You're not behind a firewall are you? If so, the port would have to be opened for outside connections.
Top

Posted by Goblin   (39 posts)  Bio
Date Reply #7 on Mon 07 Jul 2003 02:59 PM (UTC)
Message
click your start menu and then click run.

then enter :

ipconfig /all

this will display your computer ip address, possibly something like 198.162.1.3

you go into your router settings and then NAT. Then input port 4000 and your COMPUTER ip address as above.

That tells the router to send any incomming traffic on port 4000 to your computer.

for instance. i have several computers with muds on - one ip address is 198.162.1.3 and the other is 198.162.1.69

yours will be similar no doubt.
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.


23,355 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.