When I go to: http://www.whatismyip.com/
I get my public ip address 69.132.x.x (the ip address that is assigned to the public interface on my router. When I go to: http://whatismyip.org/
I get my DHCP assigned private ip address of 192.168.1.41 (this is the address actually assigned to my computer's ethernet card).
I know how to get my public ip address using server side scripting in JSP, PHP or cgi scripts, but I don't know how to get my private ip address. Originally I thought the only way to do this was with some type of client side scripting, but http://whatismyip.org/
appears to be retrieving the client side ip address using only server side scripting.
How is this done?