I am trying to connect to a socket between my laptop and my Android.
I am making a laptop as a server. To establish a connection, I use the IP address of the laptop, as shown in the ipconfig figure (running Windows 7) (this address does not match the specified sites, for example "whatismyip").
Everything works fine when I connect both my laptop and Android to the same wireless router and use the address specified by ipconfig.
However, when I use my Androidβs EDGE connection and access the same IP address, the socket connection request is denied. In addition, the IP address provided by whatismyip does not work with either WLAN or EDGE.
I heard that there are two IP addresses, internal and external. And I suppose the address indicated by ipconfig is an internal address. In addition, there is some procedure called port forwarding.
Can someone help me access the server through an EDGE connection? What IP should I use for this, and if I need to do port forwarding, how can I do this? Thanks.
source share