Unable to connect to the port 5678

Hi,

I follow the article to create a node Creating Your First Node | Docs

but it seems like the webserver has started, but it’s not able to connect to the port 5678

@Jacky_Tan Welcome to the community.

In that tutorial the port 5678 it’s not mentioned. Can you try with 8080 instead?

Also, you can have a look at the troubleshooting section

Hi RicardoE105

In the browser, I entered the URL http://localhost:8080, the web editor was able to show, but it took forever to load. I discovered in the chrome dev tools that there were additional requests to port 5678.

so my question is that do I need to start other additional services?

so my question is that do I need to start other additional services?

No additional services need to be started.

Executing npm run dev at the root dir should run both 5678 and 8080.

If 5678 is unavailable…

  • it may have failed to build, with an error message shown in the console output, or
  • it may not have finished building - it should end with the message Found 0 errors. Watching for file changes.

Hi ivov,

The output doesn’t show any errors

Very odd, not reproducible on my end.

As a workaround, you can open two terminals:

  • npm run watch to transpile on change, and
  • npm run start to start the server.

This will allow you to develop the node directly on 5678. Remember that changes in node class fields require stopping and restarting the server to take effect.

If this does not work, then your port 5678 might be blocked or inaccessible.

Hi ivov,

We have successfully built the node

Thanks!