opendax
opendax copied to clipboard
How to change default HTTP,HTTPS ports?
when service rake service:all
ERROR: for proxy Cannot start service proxy: driver failed programming external connectivity on endpoint tcx_proxy_1 (486190bff3e329df8987d7de72ff73895b4346b74f2abaa156da4acf19042f66): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use
ERROR: Encountered errors while bringing up the project.
Port collision native server's nginx SSL with docker's opendax ports. I want to change opendax ports to custom , and native server's nginx 's shared named domain to redirect opendax ports.
please remove nginx server and run rake service:all
@zeus-dev thanks for tour comments. I did it change docker proxy config port 80 to 81 and run the rake service:all success. But I can't found real services. And I can't host sides nginx services because there's several virtual server runs.
Another closed issues similar case, says app.local.barong port also need to change.
So, I think best way is followings:: it is used nodejs 3000 port reverse proxy 80 by nginx config.
Similar ways of doing methods::
- make whole different ports of opendax side , and it is port forward by host nginx or firewall setting. It is my favorite methods, my streaming server also runs with docker , thisway.
- Most of common linux package rabbit , redis , mysql , ... use hosts native packages (with common version) , and barong , peatio (build by ruby) is supplied images or binary (also shared opensrc) it is link configured on hostside.
- Olendax is in VMware or Virtual machine (not recommended, so slow)
So best way is you describe port config informations well.