-3

Just started working in React JS ... I made changes in App.js file after which whenever I try to run the local host:3000 (React JS local server) ... It is showing it can't be reached

2 Answers2

0

Can you telnet to the port? Try:

telnet localhost 3000

That should tell you if the ports unavailable at the TCP level, or whether something's going on at the HTTP level.

Ping might not work if ICMP is disabled, which could be completely unrelated to your issue.

Also, try looking in your hosts file for any redirections:

c:\Windows\System32\drivers\etc\hosts

0

Had a similar issue, I was working on multiple react projects. Whenever I switched the project, I cleared my browser cache/cookies and it started working for me seamlessly.

Omkar
  • 1
  • 1