Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

127.0.0.1 refused to connect #105

Open
shijiewei opened this issue Feb 27, 2024 · 3 comments
Open

127.0.0.1 refused to connect #105

shijiewei opened this issue Feb 27, 2024 · 3 comments

Comments

@shijiewei
Copy link

shijiewei commented Feb 27, 2024

I'v already done following the Tutorial Server. And successfully accessed the docs through 'http://127.0.0.1:3000' for days.

But today I restarted my MacBook and repeat the following steps:

  1. cd xxx/js/server
  2. ./edit en
    got cmd output: '03:58:22.542Z INFO importWatch: Import complete'
  3. access 'http://127.0.0.1:3000' in browser
    but I just got the following error(both in Chrome and Safari):

This site can’t be reached.
127.0.0.1 refused to connect.
ERR_CONNECTION_REFUSED

What's wrong with my operation?

OS: MacOS Sonoma 14.3
Node.js version: v18.14.1

@smith558
Copy link
Member

smith558 commented May 5, 2024

This is a client-side issue. Try first https://kinsta.com/blog/err_connection_refused/.

@tarasyyyk
Copy link

Using http://localhost:3000/ worked for me.

@smith558
Copy link
Member

smith558 commented Sep 6, 2024

@shijiewei Can you confirm if you're still having any issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants