EaSyKiLL Posted June 19, 2002 Share Posted June 19, 2002 Is there any way to get the port your server is broadcasting on from the console window? My jedi live page goes down every time I restart my server because it switches to a different port in my router. The only place Ive found so far is when you log into the server as a player, which I cant do till Im at home. Link to comment Share on other sites More sharing options...
MatrixCPA Posted June 20, 2002 Share Posted June 20, 2002 Hmm. I though about this one for a while and I didn't come up with anything--at least not through the console. However, you could setup one of the web status (typically php) pages and leave the port variable. Then you could just go check the page and try the ports sequentially (there are only 10 default ports) until you hit the right one. One question I would ask is....Why not just make the port static? Or is there some reason it needs to change periodically? Link to comment Share on other sites More sharing options...
EaSyKiLL Posted June 20, 2002 Author Share Posted June 20, 2002 As far as I know the only ports open on my router are 28060 through 28072, but when I connect to my server it is always different. The other day it was -24582, day before it was 28952. I have the port set to 28070 in my config. Everytime I restart the server (just jk2 not the whole computer)it picks a new port. It gets to be a pain in the butt to have to update my jedilive page everyday, or sometimes a few times a day. Link to comment Share on other sites More sharing options...
EaSyKiLL Posted June 20, 2002 Author Share Posted June 20, 2002 If someone can tell me how to make my jedi live page find my server regardless of what port it is on I would appreciate it. Link to comment Share on other sites More sharing options...
MatrixCPA Posted June 20, 2002 Share Posted June 20, 2002 What firewall/router are you using? I vaguely remember reading elsewhere that a particular type would remap ports as part of it's "security". Perhaps it can be disabled. Link to comment Share on other sites More sharing options...
EaSyKiLL Posted June 20, 2002 Author Share Posted June 20, 2002 It is a speedstream 5861. The biggest problem is that my isp loaded a custom script or something into it. Whenever I try the commands to change/remap ports they dont work. I have to call them and wait several hours for them to do it. (damn cheap bandwith-you have to pay somewhere, 1.5/1.5 for $150 a month is cheap) They also have the normal web based configuration tools disabled. But to answer your question, I think my router is changing the ports as it passes through. Not sure if there is any way around it. Link to comment Share on other sites More sharing options...
NerfYoda Posted June 20, 2002 Share Posted June 20, 2002 i have a BUNCH of experience with the speedstream 58xx's. Use the command when telnetted to the router: system addserver <your server's internal IP> <tcp|udp> <port> As for seeing which port your servers running on you can always type "netstat -a" in whichever console your OS uses (DOS window, xterm, etc) & look for a usp port open somewhere around 28070. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.