View Full Version : Machine VS Net IP
klindley
28-05-2003, 03:51
Webpost/TS2 is picking up my machine IP instead of my net IP so that the log on function of Webpost, by clicking the IP of the server, won't work from outside the lan.
How can I get Webpost to use my net IP instead of this machine IP. I saw the proposed "If" statement inside webpost.php. I tried it, but found it created several issues all it's own. Surely there is a "proper" way to get Webpost to identify the outside IP.?
Anybody have any suggestions?
www.thepeoplesvoice.net/webpost/listing.php
Set PostURL=http://www.thepeoplesvoice.net/webpost/webpost.php
You probably currently have PostURL=127.0.0.1/webpost/webpost.php ?
klindley
29-05-2003, 02:58
No Gryp, it's already set as you describe.
Cut and paste from server.ini:
PostURL=http://www.thepeoplesvoice.net/webpost/webpost.php
Shoot, if it helps... entire server.ini:
[debug]
MessageTypes=LMTALL
MessageDepths=LMDALL
[Main Config]
ExternalIPDectection=1
HTTPServer Port=14534
HTTPServer Enabled=1
DateTimeFormat=mm-dd-yyyy hh:nn:ss
TCPQueryPort=51234
BoundToIp=
[WebPost]
AdminEmail=webmaster@thepeoplesvoice.net
ISPLinkURL=na
ISPName=Private
ISPCountry=USA
Enabled=1
PostURL=http://www.thepeoplesvoice.net/webpost/webpost.php
ListPublic=1
[ISP]
GFX URL=
[log]
access=1
All ports are forwarded on the router, should the subject come up. UDP on port 51234 is off however, I assume that's no issue since it is a "TCPQueryPort."
"Please sir, may I have some more?" :) What's that from... "Oliver Twist?"
klindley
08-06-2003, 18:43
Update: I went back to the described "IF" fix, somewhere here on the boards, in webpost.php and it fixed the problem this time, with no issues. Go figure.
I'd still like to know the root of this issue however.
I was wondering why teamspeak server can detect the external ip address as well as my lan address and then u cant have your choice of ip's to send to webpost,
That really sux.
the server.ini file should give u the choice, of which ip to send to web post,
i am thinking.
klindley
06-07-2003, 17:39
Originally posted by ZERAW
I was wondering why teamspeak server can detect the external ip address as well as my lan address and then u cant have your choice of ip's to send to webpost,
That really sux.
the server.ini file should give u the choice, of which ip to send to web post,
i am thinking.
You mean: You should be able to specify in the server.ini what IP webpost uses? That would make sense, or maybe even more to the point, specify what IP webpost will use in the webpost config_inc.php file.
Certainly, you shouldn't have to write code. The domino effect of introducing code into a product, that isn't yours anyway, is great. There's too many other routines that you might not even be aware of that could depend on the section you altered, then bam... the whole thing is crap.
Any of that aside, it does appear the use of the external IP is something that's fallen through the cracks between the two projects. If it's just something I'm not doing, I'd love to know about it.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.