opendax icon indicating copy to clipboard operation
opendax copied to clipboard

How to change default HTTP,HTTPS ports?

Open trustfarm-dev opened this issue 4 years ago • 2 comments

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.

trustfarm-dev avatar Mar 10 '21 13:03 trustfarm-dev

please remove nginx server and run rake service:all

zeus-dev avatar Mar 17 '21 13:03 zeus-dev

@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::

  1. 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.
  2. 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.
  3. Olendax is in VMware or Virtual machine (not recommended, so slow)

So best way is you describe port config informations well.

trustfarm-dev avatar Mar 18 '21 06:03 trustfarm-dev