PDA

View Full Version : gllcts2_weblist ... wrong IP being reported! Help?


TheCrunge
05-08-2004, 23:06
Using gllcts2, I found my potential problem.
Can someone please tell me where "gllcts2_weblist" is getting the "server_ip" info from? For some reason my TS server is being reported with the wrong IP address (it's actually showing as my webserver's IP, which is a completely different computer).

When I go to the server listings page, my TS server shows up, but the IP is not right. I can't figure out where it finds the IP from. I beleive this is why I am getting the generic "TCPQueryPort error". If the gllcts2 is looking at the wrong IP, of course it will give that error.

Please, I'll paypal someone $20 if their answer solves my problem!!

Thanks!!

guldi
06-08-2004, 08:06
do you have a server online with more then one IP interface ? just a blind guess, would a bindtoIP (server.ini) help solve your problem ?

TheCrunge
06-08-2004, 13:51
The TS is server is on a computer with one WAN IP. The Webserver has also one WAN IP. The problem is, the webpost.php is receiving the IP for the webserver, not the TS server. I'm not sure if binding IP in TS's server.ini wouldn't help since it is probably reporting the correct IP, but the webpost.php is somehow getting the IP to the webserver that it's running on. I would like to take out the variable $server_ip and set a static value of the TS IP, but I don't know how to do that (that would also mean that gllcts2 would only be able to talk with my TS server, and not work dynamically, but I can live with that).

Thanks

Germeshausen.de
06-08-2004, 14:52
How have you linked your server to the webpost.php? Perhaps http://localhost/.../webpost.php or http://127.0.0.1/.../webpost.php something like that?

TheCrunge
07-08-2004, 22:30
I figured it out. I'm not sure, but I think because my gllcts2 directory is in a realm, I had to include a port nymber to my directory. I was tipped off because every time I go to my bbs board, my browser changes http://www.mysite.com/mybb/ to http://www.mysite.com:6080/mybb/. Still not exaclty sure why it's going over a different port than 80 (although port 80 does work for viewing the site) (the above port is just a random example). But I pointed the TS server to http://www.mysite.com:6080/gllcts2/webpost.php and it works. I'm psyched.

I'm posting this for anyone who is getting the tcpqueryport error, or for anyone whose webpost.php is showing the TS server IP as the webserver IP (for people running TS on a different machine than their webserver). Thanks Crow for getting me thinking about the posting path.

K9Trooper
10-08-2004, 19:40
Can someone help me figure this out?
The only way I can get Webpost to read our backup TS server which is on the same box Webpost and MySQL are on, I needed to set my Apache VirtualHost to a loopback for the Webpost. How can I get it to show the external IP and allow people to join through Webpost? Right now if you try it will attempt to connect to the loopback IP. I would also like to know how I can get the banner to point to our clans forums?

http://eoe.servegame.com/ts

Thanks.

~K9