Can't connect to FTP server when I'm connected via hotspot

I need to connect to my webserver via FTP from my MacOS (13.4.1). When I'm connected via home internet provider, everything is OK. But when I connect via hotspot from my iPhone (iOS 17), I can't connect to FTP. The error message is "Connection timeout". The Internet in web browser is working perfectly, but FTP connection doesn't work. I tried several FTP clients (Filezilla, Forklift, ...), but still the same problem. 

 

A few weeks ago, I used this FTP clients without any problem with hotspot, so maybe it could be related with iOS 17 update. 

 

Has anyone same problem? Is there any possibility to analyze network settings to find out where could be the problem? I tried to switch off the Firewall on MacOS, but no change...

 

Thanks.

iPhone 13 Pro, iOS 17

Posted on Sep 20, 2023 4:30 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 20, 2023 7:37 AM

No, it's FTP server at commercial web hosting company, not in my home network. I have more web hostings in various companies and the problem is the same.


I'm trying to connect via domain name, but I've also tried to connect via IP address. Still timeout...


Thank you

Similar questions

63 replies

Sep 23, 2023 11:52 AM in response to Tomas009

I am having the exact same problem, on 2 different computers using 2 different operating systems. Nothing has changed on either system, the only thing that has changes is I updated my phone to iOS 17 (now 17.0.1). I am a photojournalist, and often need to upload photos to different news organizations servers. Before the update, everything was fine. Now, I can't access any of my business client's servers even though my computers are on the internet. This is NOT small problem. I need to get these images into their servers as quickly as possible, and not getting them in is a major problem. Last night I covered a HS football game, and could not log into their server and had to email the photos which slows down their process and looks bad on me. Like I said, nothing has changed except for the iOS. The computer sees the server, and attempts to login, but times out. This NEEDS to be fixed!

Sep 25, 2023 9:46 AM in response to lvieira01

I spent the majority of my day on the phone yesterday with AppleCare support, and I have come to the conclusion that Apple doesn't care. They were so adamant that there wasn't a problem, and were so adamant on passing the buck to the carrier, the ftp software, anything but admitting that there is an issue. To recap, I have 2 Apple laptops running 2 separate OS systems. Before I upgraded to iOS 17 everything was flawless. After changing to iOS 17, everything went to crap. My computers would connect hardline, or with any wifi, even the free ones at McDonalds without an issue to any ftp site. But the second I try to use my phone's hotspot, it won't connect. Another photographer friend of mine has the exact same issue after updating his phone, so we troubleshooted. I'm on AT&T, he's on Verizon. I use Panic Software's Transmit, he uses FileZilla. He logged into my phone, no connection. I logged into his phone, no connection. Apple Support said to contact the carrier, it must be an issue with them. I did, no problem at all and actually, using my phone and his, I could get on the internet and access email. I just couldn't connect to ANY server. So I called Apple back, told them I spoke with AT&T and there was no issue and gave them the tech support case number from AT&T. So then It magically became an issue with the ftp client. But it is happening on 2 different clients, on 2 different Mac OS's on 2 different carriers. The only common denominator is iOS 17. I truly believe that Apple has a bug in the system, and are doing their best to pass the buck because they don't release faulty operating systems. Well, there are way too many of us having the exact same issue for them to be ignoring it or passing the buck. Come on Apple, there are people that their jobs rely on using their phones as a hotspot to transfer data, and you are letting a lot of people down.

Sep 20, 2023 5:46 AM in response to Tomas009

As I understand it, it is probably not a problem with using ftp, but with finding the server. You said personal - as in it is in your home network? This would explain why you can't reach it.

How are you accessing the server - using an IP address like 192.168.*.*? using a domain name?


If you are trying to access something in your home from outside (and note that even if you are at home, using the phone hotstop you are *outside* your home network) there are a number of things that need to be done in preparation.


Please clarify the above and we can try to give you instructions for making it work.

Sep 20, 2023 8:24 AM in response to Tomas009

Being older than IP networking itself (yes, really), and its pattern of connections is fundamentally incompatible with modern network firewalls, and being wildly insecure, FTP quite often causes issues, and increasingly often simply gets blocked.


To get FTP to work with a firewall, one or both firewalls (on the local network, and in the remote network) must scan the FTP traffic and preemptively open up the second port. The direction of this second connection depends on whether the FTP connection is operating in active or passive mode. But it’ll always run into a firewall, if the firewall isn’t configured to scan FTP traffic.


(This second data connection used by FTP usually uses an ephemeral port selected at run-time, so there’s no way a firewall can predict that without communications with the FTP server or FTP client, which means either opening up the entire ephemeral range, or configuring the FTP server to use a particular sub-range and opening that, or (as is common on middling and higher-spec firewalls) scanning the passing FTP traffic.)


As FTP openly leaks the server credentials in cleartext, the recipient firewall and recipient FTP server need to process and relocate the arriving files too, as the server can otherwise become filled with unwanted or illegal files.


If you need file uploads with your web server, use HTTPS file uploads, or configure and use SFTP.


If you really need FTP, set up a VPN to wrap the connection; that VPN might be L2TP/IPSec, or maybe FTPS.


PS: also learn about Gifar and other types of polyglot files, particularly if you’re exposing potentially untrusted uploaded files.

Sep 21, 2023 5:42 AM in response to Rudegar

Yes, that was exactly what I did today. FTP client on iOS works perfectly in both cases - on wifi just as using cellular. That means there is no problem with my carrier, but with hotspot - connection between iPhone and MacOS.


Isn't is possible it's related to the update to iOS 17? A few weeks ago it worked normally via hotspot. At that time I had iOS 16.

Sep 21, 2023 8:14 AM in response to Tomas009

Tomas009 wrote:

Sorry, but no useful answer yet. Does anybody have an idea? I tried active/passive mode, I also tried to connect via SFTP. But still the same. Connection via home provider is without any problem. But when I want to connect via hotspot from iPhone, connection timeout.

Thank you.


Check with your carrier, as they appear to be blocking both FTP and SFTP.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't connect to FTP server when I'm connected via hotspot

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.