#Access to host machine TCP port

1 messages · Page 1 of 1 (latest)

jaunty hatch
#

If I have some service running on my host machine on port 1234, how do I arrange for that to be accessible from a command executed by dagger?

For example, if I have a web server running on my host machine on port 80, how can I make it available on port 8080 so .with_exec(["curl", "http://localhost:8080"]) would work?

I'm pretty much looking for the TCP equivalent of with_unix_socket.