Hi @Luis Madrid
Welcome to the Sonos Community!
Sorry to hear of the issue you’ve had with connecting your iPhone to your Sonos system.
Please open your iPhone’s settings and go to Settings » Security & Privacy » Local Network » Sonos and ensure that the app has the required permission.
If you have a firewall installed, please try temporarily disabling it to see if it helps.
Please also ensure that your iPhone is connecting to the same network as you speakers, and not to a guest network.
Finally, if your iPhone was supplied by your place of work, it may have restrictions placed upon it - please consult your IT department if this is the case.
I hope this helps.
"Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein