valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.95k stars 1.76k forks source link

fasthttp server running on Windows can't be accessed by another machine on the same LAN #1390

Open Haishi2016 opened 2 years ago

Haishi2016 commented 2 years ago

I've tried both fasthttp.ListenAndServe("0.0.0.0:") and fasthttp.ListenAndServe(":") on Windows 11. In both cases, the web server can be accessed from the same PC, through either "localhost" or ip address. However, the server can't be accessed from any other machines on the same network. I've tried both PC and Mac, and I've ruled out firewall issues. Have any one observed such behaviors?

erikdubbelboer commented 2 years ago

I'm guessing this has nothing to do with fasthttp. Or does a normal net/http server work?