fasthttp icon indicating copy to clipboard operation
fasthttp copied to clipboard

Fasthttp cannot start in ipv4.

Open juzweb opened this issue 10 months ago • 1 comments

Hi I have tried using 0.0.0.0:8080, but when run it always start in tcp6.

I checked using netstat -nltp.

This is run on AWS EC2 AMI 2023.

Anyone has successfully run before on tcp4?

Image

However, if i use 127.0.0.1:8080, then it runs as tcp4.

version: github.com/fasthttp/router v1.4.17 github.com/valyala/fasthttp v1.56.0 golang.org/x/net v0.29.0 // indirect

Any help is very appreciated.

juzweb avatar Jan 27 '25 12:01 juzweb

Your image shows you are using net.Listen which has nothing to do with fasthttp?

erikdubbelboer avatar Jan 28 '25 06:01 erikdubbelboer