Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Support exposing API/Gateway on multiple multiaddrs #1852

Closed
@lidel

Description

@lidel

go-ipfs supports listening on multiple multiaddrs if an array is provided instead of a single multiaddr.

Both snippets are valid in go-ipfs:

ipv4+ipv6

	"Addresses": {
		"API": [
			"/ip4/127.0.0.1/tcp/5002",
			"/ip6/::1/tcp/5002"
		],
		"Gateway": [
			"/ip4/127.0.0.1/tcp/9090",
			"/ip6/::1/tcp/9090"
		],

ipv4 only

	"Addresses": {
		"API": "/ip4/127.0.0.1/tcp/5002",
		"Gateway": "/ip4/127.0.0.1/tcp/9090",

Unfortunately js-ipfs does not support arrays, only a single address can be defined ATM.

cc #1563, ipfs/kubo#5905

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low: Not priority right nowexp/noviceSomeone with a little familiarity can pick uphelp wantedSeeking public contribution on this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions