Unable to open port on adriod device

hussaintrs

Prominent
Mar 2, 2017
2
0
510
Hi! I have an andriod device on which i am running a simple http server. My aim is to access it from anywhere on the internet. So when i take my public ip from whatismyip.com and check for open ports, the port always shows closed. I am using a 4G mobile data carrier for internet connection in india.
Please help me with my problem. Thanks.
 
Solution
Port forwarding is put at the device sitting between the Internet and internal network (in your case, your cell operator) forwarding some request to internal IP address (in your case, your phone). You don't have control over your cell operator, so there's nothing you can do there.

On client (being it Android, PC, etc) - you don't put any forwarding, since this is not done there.

You have to ask your drineds who they operator is - there is a slight chance they have "real" IP address.
Most 3G/4G networks do not provide "real" IP address to their clients. The IP address you're getting is not the IP address of your phone, but on the telecom company. And this IP address is shared with all souls connected to that tower.

So, for your web site, you have to host is somewhere else.
 

hussaintrs

Prominent
Mar 2, 2017
2
0
510


Thanks for the reply. But i have seen people host a webpage directly from their andriod device and also there are few apps that do port forwarding for this reason. is there any way i can bypass it and open a port on my device?
 
Port forwarding is put at the device sitting between the Internet and internal network (in your case, your cell operator) forwarding some request to internal IP address (in your case, your phone). You don't have control over your cell operator, so there's nothing you can do there.

On client (being it Android, PC, etc) - you don't put any forwarding, since this is not done there.

You have to ask your drineds who they operator is - there is a slight chance they have "real" IP address.
 
Solution