Safari can't connect to the server “localhost”

Hii i am trying to load localhost/testProject/public/ website on server and i am issues with that.I tried to load a http://localhost but its still showing the error.

MacBook Pro 13″, macOS 11.2

Posted on Mar 10, 2021 12:23 AM

Reply
1 reply

Mar 11, 2021 9:17 AM in response to rajpreet66

Hey there rajpreet66,


Thanks for reaching out to Apple Support Communities. It looks like you’re having issues loading a website that is possibly on another computer or server. We’ll be happy to help.


Is this site something shared from another computer or a server on your network? If so, make sure you’re following the steps in this link to connect to the site:


Connect your Mac to shared computers and servers


We hope this helps. Take care.

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.

Safari can't connect to the server “localhost”

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