Android: how to access a mobile web server from the Internet

I can access the i-jetty web application installed in android from a PC on the same network. but I would like to access it from the Internet. How is this possible? The i-jetty server runs on an Android device.

Or any other server that can run on Android and can be accessed from the Internet? There are some apps on Google Play that do the same, but within the same network.

+3
source share
1 answer

If your device is inside lan via a Wi-Fi connection, you are behind your Internet gateway. Therefore, when you want to access the server application on your mobile device from the Internet, you need to configure port forwarding on your router from around the world on the server port to your mobile device with the same port.

Or switch using a mobile device to the umts or lte connection, find out your IP address and call it with the client for your server application.

There is a web page that shows your IP address. Try google for "what is my ip".

0
source

All Articles