Port forwarding?

Ask for help regarding any technical issue or report any bug or OS independent issues.
User avatar
Eragon
Peon
Peon
Posts: 47
Joined: 13 Aug 2010, 11:04
Location: Somewhere in a hidden place in Planet Earth

Port forwarding?

Post by Eragon » 27 Mar 2011, 17:32

Hello I need some little help...how can I forward my ports (6901, 6122 and 5122)? I have no router. I opened them on firewalls but thats simply not enough. I tried with firewalls off too but that didn't work either. Searched the google but no help...but maybe someone knows how to solve this? Also, if someone knows a good program to check closed and opened ports please tell me :)
Only need to forward those ports and then my server can be on.... :roll:
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 07:20
Location: California, USA

Re: Port forwarding?

Post by Frost » 27 Mar 2011, 19:34

Eragon wrote:Hello I need some little help...how can I forward my ports (6901, 6122 and 5122)? I have no router. I opened them on firewalls but thats simply not enough....
If someone knows a good program to check closed and opened ports please tell me
If you have no router, then you do not need to forward ports on your router. :) Most people have routers, which is why that step is so common.
To test open ports, go to http://canyouseeme.org/
You earn respect by how you live, not by what you demand.
-unknown
User avatar
Eragon
Peon
Peon
Posts: 47
Joined: 13 Aug 2010, 11:04
Location: Somewhere in a hidden place in Planet Earth

Re: Port forwarding?

Post by Eragon » 28 Mar 2011, 12:04

Frost wrote:
Eragon wrote:Hello I need some little help...how can I forward my ports (6901, 6122 and 5122)? I have no router. I opened them on firewalls but thats simply not enough....
If someone knows a good program to check closed and opened ports please tell me
If you have no router, then you do not need to forward ports on your router. :) Most people have routers, which is why that step is so common.
To test open ports, go to http://canyouseeme.org/
Ok ty but what else can block the ports? Antivirus? Any secret firewall? Proxy? Because I opened the ports in windows firewalls but they are still closed.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: Port forwarding?

Post by Crush » 28 Mar 2011, 13:20

Why are you so sure that your problem is because of blocked / not correctly forwarded ports?

When you would describe what exactly you want to do and where exactly you are failing, maybe we could tell you some other things which could be wrong.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Eragon
Peon
Peon
Posts: 47
Joined: 13 Aug 2010, 11:04
Location: Somewhere in a hidden place in Planet Earth

Re: Port forwarding?

Post by Eragon » 28 Mar 2011, 13:30

Crush wrote:Why are you so sure that your problem is because of blocked / not correctly forwarded ports?

When you would describe what exactly you want to do and where exactly you are failing, maybe we could tell you some other things which could be wrong.
Crush: About the ports, when I check them in my RUN, cmd, netsh firewall show state ...it says the 3 ports (6901, 6122, 5122) are open...but when I try it online in web it says ports are closed. I also checked my firewall settings and ports are open there, but when I use web pages like http://canyouseeme.org/ they still say ports are blocked. I also checked my antivirus settings and looks like it has no firewalls.

What I exactly want to do: Run public eathena server.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: Port forwarding?

Post by Crush » 28 Mar 2011, 13:36

Are you sure that these ports are really blocked or is there just no service listening to them?

You can use the command netstat -a to see a list of all open network connection including servers which are listening to connections from the outside.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Eragon
Peon
Peon
Posts: 47
Joined: 13 Aug 2010, 11:04
Location: Somewhere in a hidden place in Planet Earth

Re: Port forwarding?

Post by Eragon » 28 Mar 2011, 13:43

Crush wrote:Are you sure that these ports are really blocked or is there just no service listening to them?

You can use the command netstat -a to see a list of all open network connection including servers which are listening to outbound connections.
This is what it shows when running the servers:
TCP pc-123:6901 pc-123:0 LISTENING
TCP pc-123:5122 pc-123:0 LISTENING
TCP pc-123:6122 pc-123:0 LISTENING

NOTE: pc-123 is the name of my computer.
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 07:20
Location: California, USA

Re: Port forwarding?

Post by Frost » 28 Mar 2011, 16:59

Eragon wrote: This is what it shows when running the servers:
TCP pc-123:6901 pc-123:0 LISTENING
TCP pc-123:5122 pc-123:0 LISTENING
TCP pc-123:6122 pc-123:0 LISTENING

NOTE: pc-123 is the name of my computer.
Thanks for the precise and detailed information. It does indeed look like your computer is waiting for connections.
Regarding your question
what else can block the ports? Antivirus? Any secret firewall? Proxy?
the answer would be "any of those, plus your ISP."
Unfortunately, you're the only person who's really equipped to answer whether your antivirus is blocking, or whether you are running a SOCKS-type proxy or a secret firewall (I assume you'd know if you were). One way to test would be to run the client locally and connect to the server at the real IP address you're using. Better yet, test from another computer on a LAN, but it sounds like you're plugged directly into the Internet so you might not have a LAN.
You could ask your internet provider if they block such ports. I'd be surprised if they were, but it's possible.

Hmm. One more thing. Can you confirm that your computer is using a routable IPv4 address? Don't post the IP here, but check that it's not in one of the following ranges defined by RFC 1918. If you're using IPv6 only, then some parts of the Internet simply aren't modern enough to see you yet.
10.x.x.x
172.16.x.x - 172.31.x.x
192.168.x.x
169.254.x.x (the link-local subnet in RFC 3927)
You earn respect by how you live, not by what you demand.
-unknown
Matt
Knight
Knight
Posts: 1747
Joined: 07 Aug 2004, 11:47
Location: Germany->Bavaria

Re: Port forwarding?

Post by Matt » 28 Mar 2011, 17:36

Or, to make it easier and compress that stuff a bit: How do you connect to the internet, what is your internet provider and what country are you from.
User avatar
Eragon
Peon
Peon
Posts: 47
Joined: 13 Aug 2010, 11:04
Location: Somewhere in a hidden place in Planet Earth

Re: Port forwarding?

Post by Eragon » 28 Mar 2011, 18:42

Frost wrote:
Eragon wrote: This is what it shows when running the servers:
TCP pc-123:6901 pc-123:0 LISTENING
TCP pc-123:5122 pc-123:0 LISTENING
TCP pc-123:6122 pc-123:0 LISTENING

NOTE: pc-123 is the name of my computer.
Thanks for the precise and detailed information. It does indeed look like your computer is waiting for connections.
Regarding your question
what else can block the ports? Antivirus? Any secret firewall? Proxy?
the answer would be "any of those, plus your ISP."
Unfortunately, you're the only person who's really equipped to answer whether your antivirus is blocking, or whether you are running a SOCKS-type proxy or a secret firewall (I assume you'd know if you were). One way to test would be to run the client locally and connect to the server at the real IP address you're using. Better yet, test from another computer on a LAN, but it sounds like you're plugged directly into the Internet so you might not have a LAN.
You could ask your internet provider if they block such ports. I'd be surprised if they were, but it's possible.

Hmm. One more thing. Can you confirm that your computer is using a routable IPv4 address? Don't post the IP here, but check that it's not in one of the following ranges defined by RFC 1918. If you're using IPv6 only, then some parts of the Internet simply aren't modern enough to see you yet.
10.x.x.x
172.16.x.x - 172.31.x.x
192.168.x.x
169.254.x.x (the link-local subnet in RFC 3927)
My computer is using IPv6 only.
For the ports, I called my ISP and the one who answered didn't know what ports are -.-
I'll try to contact them later but I don't think they are blocking those ports.
Also I checked my antivirus (Avast webpage) and they said free edition does not have firewall and doesn't block ports if network security is off. For the secret firewalls I don't think they exist in my computer.
I can connect to the server with my other computer with my private IP so I have a LAN, I think.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: Port forwarding?

Post by Crush » 28 Mar 2011, 23:59

Eragon wrote:My computer is using IPv6 only.
Well, that could be the reason why it isn't working.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 07:20
Location: California, USA

Re: Port forwarding?

Post by Frost » 29 Mar 2011, 03:09

Eragon wrote: My computer is using IPv6 only.
Many parts of the Internet are not yet modern enough to use IPv6. Your ISP no doubt uses NAT to let you communicate with primitive regions like North America, so it's transparent for you to connect to other areas, but can be problematic for them to reach you directly. This should be solved once backwaters like my little town of 1,500,000 people get dragged kicking and screaming into the 21st century -- probably in the next year or two. Meanwhile, only those who use IPv6 or tunnel it over something like 6to4 can see your server.
You earn respect by how you live, not by what you demand.
-unknown
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Port forwarding?

Post by Jaxad0127 » 29 Mar 2011, 03:20

If I remember correctly, the networking library we use doesn't support IP6.
Image
User avatar
Eragon
Peon
Peon
Posts: 47
Joined: 13 Aug 2010, 11:04
Location: Somewhere in a hidden place in Planet Earth

Re: Port forwarding?

Post by Eragon » 29 Mar 2011, 12:01

So its impossible to have a private server...atleast I know that and I cant do it and I just will give up :evil: ..I hate my ISP!!!!!!!!
User avatar
Eragon
Peon
Peon
Posts: 47
Joined: 13 Aug 2010, 11:04
Location: Somewhere in a hidden place in Planet Earth

Re: Port forwarding?

Post by Eragon » 29 Mar 2011, 12:12

If I ask my ISP can they give me ipv4 or thats not possible?
Post Reply