Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Mozilla can access localhost, but not localhost:4200

  • Нет ответов
  • 7 имеют эту проблему
  • 2 просмотра
more options

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.