Skip to content

How to you set host and port numbers? #734

Answered by chrisbenincasa
a1270 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm assuming you are running the binary directly, in which case, you can use the --port argument for TUNARR_SERVER_PORT environment variable to set the port. For bind address you can use the TUNARR_BIND_ADDR environment variable. Some examples for the macOS 'binary':

➜  tunarr-macos-x64 ) ./macos-entrypoint.sh -- --port 1234 | grep port
2024-08-29T20:25:49.944Z [info]: HTTP server running on port: http://localhost:1234
➜  tunarr-macos-x64 ) TUNARR_SERVER_PORT=1234 ./macos-entrypoint.sh | grep port
2024-08-29T20:25:58.227Z [info]: HTTP server running on port: http://localhost:1234
➜  tunarr-macos-x64 ) TUNARR_BIND_ADDR=0.0.0.0 ./macos-entrypoint.sh | grep port
2024-08-29T20:26:10.141Z [inf…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by a1270
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants