server
server copied to clipboard
127.0.0.1 refused to connect
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:
- cd xxx/js/server
- ./edit en got cmd output: '03:58:22.542Z INFO importWatch: Import complete'
- 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
This is a client-side issue. Try first https://kinsta.com/blog/err_connection_refused/.
Using http://localhost:3000/ worked for me.
@shijiewei Can you confirm if you're still having any issues?