ID:274042
 
How can i make it so the game/server checks all my ports like a port site does and puts them on a grid or label saying like


8001 open
8009 closed


to let people know if there in use or not.
http://www.yougetsignal.com/tools/open-ports/php/ check-port.php?remoteAddress=[IP]&portNumber={PORT]

You could pull the info from this website and return false or true depending....
In response to A.T.H.K
A.T.H.K wrote:
http://www.yougetsignal.com/tools/open-ports/php/ check-port.php?remoteAddress=[IP]&portNumber={PORT]

You could pull the info from this website and return false or true depending....

problem there is it says my ports are closed when there open

but when i use them like say i host a game on port 8005 (aka n ow closed) and it works then test it says Open.
A port will not report as open if you do not have something using it..

Example:

Apache webserver uses port 80 (standard for websites).

I have closed apache now my port reports as closed.

I have now re-opened apache and it is now reporting as open.
In response to A.T.H.K
A.T.H.K wrote:
A port will not report as open if you do not have something using it..

Example:

Apache webserver uses port 80 (standard for websites).

I have closed apache now my port reports as closed.

I have now re-opened apache and it is now reporting as open


right now all my ports are closed
if u were to goto
http://www.yougetsignal.com/tools/open-ports/php/ check-port.php?remoteAddress=webhoost.game-server.cc&portNum ber=8005

itll say closed unless i host a game on 8005 then itll say open.


2nd note: were can i go to learn to import info from web
"itll say closed unless i host a game on 8005 then itll say open"

That is because something is using the port, it doesn't matter if you open the port on your router, it will not show as being open unless something is using it!....


You could modify Tiberath's hub grabber..

http://www.byond.com/members/ Tiberath?command=view_post&post=96873