How to Listen in two ports at the same time? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How to Listen in two ports at the same time? (
/showthread.php?tid=632184)
How to Listen in two ports at the same time? -
iSanchez - 10.04.2017
Hello, I am trying to make my server to listen in two ports (same ip) at the same time.
I am using iptables to forward the port 7777 to port 7778.
I can query the server info and more, the problem is when I try to join to the server, it never joins.
It says the server didn't respond, retrying...
But when I use the the
same port: 7777 in two different ip addresses it works!
What I can do to allow the connections from two different ports in the same ip address?
Re: How to Listen in two ports at the same time? -
Stones - 10.04.2017
Are you using a linux VPS ?
Respuesta: Re: How to Listen in two ports at the same time? -
iSanchez - 10.04.2017
Quote:
Originally Posted by Stones
Are you using a linux VPS ?
|
Yes, I'm using Ubuntu
Re: Respuesta: Re: How to Listen in two ports at the same time? - Astralis - 11.04.2017
Quote:
Originally Posted by iSanchez
Yes, I'm using Ubuntu
|
No one really understands what you have asked.
You can own a VPS server and then get additional IP for it which means you will be having two 7777 servers on the same VPS with different IP addresses.