carlaviz icon indicating copy to clipboard operation
carlaviz copied to clipboard

add different port option

Open badsmoke opened this issue 3 years ago • 2 comments

Can you please add an option that the api can run on another port.

i would like to run carlaviz behind a reverse proxy and https without having to release port 8080.

badsmoke avatar Oct 20 '20 12:10 badsmoke

Sure, that should be simple.

By the way, this application also needs to export port 8081 to let the frontend communicate with backend as well. If you want to use the drawing functionality, it also needs 8089 port. I am thinking of adding a config file to change these settings.

mjxu96 avatar Oct 20 '20 13:10 mjxu96

thank you very much.

usually you solve this by a subdir

e.g.

hostname/ = gui hostname/api = communication to backend hostname/draw_api = drawing communication

you only have to open one port, in my case port 443, so that I can run everything encrypted and without certificate errors via https

badsmoke avatar Oct 20 '20 14:10 badsmoke

Although this is an old issue, I think we can resolve this by adding reverse proxy. Port customization is added in https://github.com/mjxu96/carlaviz/pull/62

mjxu96 avatar Jul 26 '23 02:07 mjxu96