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.
