Skip to content

Expose API: bind remotePort on IPv4 and not just on IPv6 #73

Open
@SkyperTHC

Description

@SkyperTHC

The web example shows an APi request such as this

curl http://[::2]/expose -d '{"Action":0,"LocalPort":31336,"RemotePort":31337,"Protocol":"tcp","Dynamic":false}'

It binds to[ ::2]:31337 on the EXIT. What's the correct API call to bind to 127.0.0.1:31337 or even 0.0.0.0:31337?

I tried curl http://127.0.0.2 and curl http://172.16.0.1 but to no avail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions