sockets - Android app that connects to server port 8080 -
so have been developing , android application fun in spare time. application opens connection home server running java program, calculations , sends response. issue not want use port 80. if cell phone on wifi can connect using port like, 8080. works wifi connection outside of home network. switch 4g , connection fails.
server:8080
- phone on wifi(any) - works
- phone on 4g - fails
server:80
- phone on wifi(any) - works
- phone on 4g - works
i switched server on listen on port 80 , app connect using same , connection works on both 4g , wifi.
is there missing make work on uncommon port?
or limitation of 4g connections.
thanks
i can assure it's not issue 4g ip connectivity. ports part of udp/tcp , "data" ip network.
however, possible cellular provider has firewall prevents traffic ports. portquiz public website listens on ports. using browser on phone, try connecting various ports , see successful , not.
http://portquiz.net:8080 http://portquiz.net:8 http://portquiz.net:666
if can connect via wifi not cellular, provider doing things shouldn't.
if browser can connect port 8080 of server , app cannot, it's app.