FTP server and FTP client
I have an FTP server and a FTP client on my phone. When at home and on Wi-Fi both the server and the client work as they should.
When on the phone data network (Verizon) neither the FTP server or the FTP client works.
I've checked every setting I can find to no avail.
Do the phone data networks (Verizon) block the FTP ports?
I'd really like to get the FTP server and the FTP client to work when away from Wi-Fi.
A point in the right direction would be most appreciated.
Posted Aug 14, 2018, 6:50 PM UTC
35
Which IP address do you use to reach the FTP server on your phone? You probably only have an IP in the private range (e.g. 10.x.y.z), because the carrier uses NAT.
Even if your carrier gives your phone an IPv6 address, they might block any incoming connections, because most users don't expect that their phone is in the open internet, and there might be security problems.
The FTP client should still work, I think. What kind of IP address does the server have? If it's in your home: did you forward the port(s) in your router?
Private network
In the Internet addressing architecture, a private network is a network that uses private IP address space. Both, the IPv4 and the IPv6 specifications define private addressing ranges. These addresses are commonly used for local area networks (LANs) in residential, office, and enterprise environments. Private IP address spaces were originally defined in an effort to delay IPv4 address exhaustion.
^[ ^PM ^| ^Exclude ^me ^| ^Exclude ^from ^subreddit ^| ^FAQ ^/ ^Information ^| ^Source ^] ^Downvote ^to ^remove ^| ^v0.28
IP on phone FTP server is 100.124.XXX.YYY.
Nope, cannot connect to anything with the FTP client when on the phone data network.
At home, everything works, without port forwarding.
While you are using wifi in your own network, you are using your internal, private IP addresses. You can't connect to these from outside of your network.
When you are using the internet, you must use the external IP address of your router, and you must forward the port in your router, so that it can move the packets from the outside to the computer (with the FTP server) on the inside. Type "my ip" into Google and use any of the services that will show your external IP.
Like I wrote in my previous post: that is an IP address that is internal in your carrier's network. You can't connect to this IP from the internet.
Thanks for all the information. Most appreciated.