
Mozilla can access localhost, but not localhost:4200
I'm learning to use Angular at the moment and I was able to access localhost. However, when I'm trying to go to localhost:4200, Firefox gives me an error, saying 'Firefox can’t establish a connection to the server at localhost:4200.'. Switching to chrome, localhost:4200 works just fine.
P.S. 127.0.0.1:4200 in Firefox works, and going to 127.0.0.1 is just the same as going to localhost. I'm just wondering why localhost:4200 doesn't work.
I'm learning to use Angular at the moment and I was able to access localhost. However, when I'm trying to go to localhost:4200, Firefox gives me an error, saying 'Firefox can’t establish a connection to the server at localhost:4200.'. Switching to chrome, localhost:4200 works just fine.
P.S. 127.0.0.1:4200 in Firefox works, and going to 127.0.0.1 is just the same as going to localhost. I'm just wondering why localhost:4200 doesn't work.