knowram Posted December 4, 2006 Share Posted December 4, 2006 Is there any way to figure out what the WAN ip address is of the computer being used to visit a site?thanks for the help Quote Link to comment Share on other sites More sharing options...
zq29 Posted December 4, 2006 Share Posted December 4, 2006 One (sometimes unreliable) method is to use the $_SERVER['REMOTE_ADDR'] variable. Quote Link to comment Share on other sites More sharing options...
keeB Posted December 4, 2006 Share Posted December 4, 2006 I think the WAN IP address is different than the Normal one, but I could be wrong... Quote Link to comment Share on other sites More sharing options...
zq29 Posted December 4, 2006 Share Posted December 4, 2006 [quote author=keeB link=topic=117304.msg478531#msg478531 date=1165251605]I think the WAN IP address is different than the Normal one, but I could be wrong...[/quote]As far as my understanding goes, generally there are two different types of IP address, LAN ([b]L[/b]ocal [b]A[/b]rea [b]N[/b]etwork) and WAN ([b]W[/b]ide [b]A[/b]rea [b]N[/b]etwork). LAN being your internal network IP address (i.e. 192.168.2.101) and WAN being your external, internet facing, IP address (i.e. 82.152.251.42) - If you're behind a proxy, you're WAN IP address would appear different than what you might be expecting though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.