Connecting to server in the Files app on iPhone

TLDR: find IPv4 from server and use smb:// REPLACE WITH YOUR IPv4 ADRESS


For anyone who encountered the error "There was a problem connecting to the server. Socket is not connected" while trying to connect to a server with an iPhone, the way you connect to the server is bit different from mac.


Assuming you have successfully enabled file sharing on your server side and/or connected to server successfully via mac, you have to figure out your IPv4 Address on your server ( in my case, i used command prompt with the keyword ipconfig and pressed enter to find my IPv4 Address).


Once you have found out your IPv4, Use iPhone and click connect to server within files. Then enter the server address in this format smb://REPLACE WITH YOUR IPv4 ADRESS then press connect. then you can choose to access it as guest or registered user from the options.


I have attached step by step method i used with images below:


1.Find the IPv4 with command prompt


2.Press connect to server


3.Enter the server adress with smb:// THE IPv4 Address that was found and press connect


4.Press connect and choose the way you wanna connect


Hopefully that should solve the issue.


Posted on Jan 21, 2025 9:49 AM

Reply

Similar questions

1 reply

Jan 21, 2025 10:26 PM in response to pramod71

Thanks for the Tips. Great!


I have bookmarked your post for myself and others.


This may help your Mac users.


Connect to a computer or file server

Open the Files App. Tapp the Three Dots on the Top RH side, Tap Connect to Server. Enter a local hostname (Bonjour) or a network address, then tap Connect. Tip: After you connect to a computer or file server, it appears in the Recent Servers list on the Connect to Server screen. To connect to a recent server, tap its name.




Connect servers or external devices with Files on iPhone



The local hostname, or local network name, is displayed at the bottom of the Sharing settings window. It identifies your Mac to Bonjour-compatible services. The local hostname is your computer's name with .local added, and any spaces are replaced with hyphens.


Change your computer's name or local hostname on Mac



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.

Connecting to server in the Files app on iPhone

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