Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fasthttp cannot start in ipv4. #1943

Open
juzweb opened this issue Jan 27, 2025 · 1 comment
Open

Fasthttp cannot start in ipv4. #1943

juzweb opened this issue Jan 27, 2025 · 1 comment

Comments

@juzweb
Copy link

juzweb commented Jan 27, 2025

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.

@erikdubbelboer
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants