Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just loaded up a older computer of mine to run a server for a game I'm working on, (it's a template server) and I need to forward ports 3200 and 3201, so that it can be accessed both on my local network and outside the network. Now, I believe I have the right settings done in my router, for I used to run RSPS (runescape private servers) a long time ago; but when ever I go to a website to check if the port it open (or try running the game on a different computer hooked up to the same network) it fails/says its still closed.

Now, I was just wondering if you guys could give me some help, on getting this machine to do and work the way I want it to. I have not done any port forwarding or anything in the actual OS, but that is mostly because I can't really find any tutorials/sites with much help on that.

P.S. The server is made in python and I have gotten that up and running so far.


share|improve this question

closed as off topic by izx, Thomas Ward, jokerdino, James Jul 19 '12 at 13:05

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This may be slightly outside the scope of Ubuntu, as port forwarding on a router is a separate issue from Ubuntu itself. – Thomas Ward Jun 18 '12 at 12:39

You don't need to forward any ports on the PC if you want to reach a server on the PC. By default there's no packet filter ("personal firewall") in Ubuntu, all ports are open.

Please double-check that you really forwarded the ports in the router, because that is where you need to forward the ports. Make sure that you forwarded the ports to the correct IP address / machine name.

You can run

sudo netstat -tulpen | grep 3200

to see if your server really is listening on port 3200 (change to 3201 to check for port 3201, of course).

share|improve this answer
FYI: so that it can be accessed both on my local network and outside the network that's what they want, they need it visible externally, so your answer does not qualify as a complete answer. As well, port forwarding is at the router, so... – Thomas Ward Jun 18 '12 at 12:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.