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.
The web example shows an APi request such as this
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.2andcurl http://172.16.0.1but to no avail.