简体   繁体   中英

Webstorm localhost debugging

My webstorm suddenly stopped debugging in Chrome. The port and settings are correct, or atlest they appear to me. This was working until a few days back but stopped working today. I tried to retrace any changes to machine, but none of that would have impacted.

It appears that the specified port is somehow blocked on my machine because after I run my project it error's out with following error:

  • Failed to load resource: net::ERR_CONNECTION_REFUSED
  • Failed to load resource: the server responded with a status of 502 (Fiddler - Connection Failed)

Naturally I checked fiddler and the following error pops out

271 502 HTTP 127.0.0.1:63342 /browserConnection/buildInfo 512 no-cache, must-revalidate text/html; charset=UTF-8 chrome:18024

GET /browserConnection/buildInfo HTTP/1.1

[Fiddler] The connection to '127.0.0.1' failed.
Error: ConnectionRefused (0x274d).
System.Net.Sockets.SocketException No connection could be made because the target machine actively refused it 127.0.0.1:63342

Anyone got an idea what's happing because I tried everything I could think of.

我通过设置调试端口8090并禁用外部连接复选框来解决它

I solved it by changing "localhost" by "127.0.0.1"

http:// 127.0.0.1 :63342/test/index.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM