I solved the error by changing the port for the project.
I did the following steps:
1 – Right click on the project.
2 – Go to properties.
3 – Go to Server tab.
4 – On tab section, change the project URL for other port, like 8080 or 3000.
Good luck!