Skip to content

Allow web server to listen on IPv6 #51

@tansanDOTeth

Description

@tansanDOTeth

I am trying to get this to work in a private network, and it seems Fiber needs to be setup with this configuration for it to work:
https://docs.railway.com/guides/private-networking#go-fiber

fiber is a web framework for Go. When configuring your Fiber app, you should set the Network field to tcp to have it listen on IPv6 as well as IPv4:
app := fiber.New(fiber.Config{
Network: "tcp",
ServerHeader: "Fiber",
AppName: "Test App v1.0.1",
})

I'm not really familiar enough with go to make a PR here, but I believe here and possibly a few other areas could be updated to support this.

app := fiber.New(fiber.Config{
DisableStartupMessage: true,
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions