1

I have a Mac M3. VS Code is installed on it with the live server extension.

There are a couple of websites that were developed on another computer running Linux, and I cloned them onto my Mac.

When I try to launch them in the brave browser, it constantly tries to connect through a port, but without success. As a result, the site doesn’t load.

Could you help me figure out what I’m doing wrong? enter image description here Thank you very much

i tried to reinstall the application but no success

New contributor
Ph.Zh is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • What does a connection problem have to do with HTML or CSS?
    – Barmar
    Commented Sep 4 at 23:38

2 Answers 2

0

You may want to try changing the port.

Go to VSCode, and in the search bar type "Preferences" and click on User Settings. Then in the search type "Live Server Port" and change the number to 3000, 8000, 8080 or some other port.

Screenshot

Let me know if this doesn't help.

New contributor
blazgocompany is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
0

The issue is resolved. Previously, I was opening the folder with all the projects, and the port wasn’t working (although there were no issues on Linux). On Mac, I simply opened the specific project, and everything worked fine.

Thank you very much!

New contributor
Ph.Zh is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.