We moved some apps and tomcat server to the server where ElectricCommander (EC) is running. I want to change the port for EC.
After making changes to the config files, there is a conflict over the port. Whichever service, EC or Apache, starts first takes the port. The second service will not start since the port is already in use.
Current settings:commander.properties:COMMANDER_PORT=8075 httpd.conf:Listen 10.1.1.51:8075 httpd.conf:SetEnv COMMANDER_PORT "8075"
What am I missing?
Answer by tanay · Sep 30, 2013 at 02:43 PM
There's a utility that comes with EC called ecconfigure. It's located in the "bin" subdirectory of the installation folder (along with ectool, etc).
You can run ecconfigure with the following arguments to change the web server ports:
--webHttpPort=port The HTTP port of the web server. --webHttpsPort=port The HTTPS port of the web server.
Note that if you change the ports to something other than 80/443, you'll have to specify them in the URL. For example, if you change it to 81/444, you'll have to type http://commander.company.com:81 or https://commander.company.com:444.
Answer by anomal · Oct 01, 2013 at 07:35 AM
I could not guess values based on the definitions from 'ecconfigure --help'. Can you plug the 5 http port names into the pic? (Only 1-2 are obvious)
_____ | | | | |_____| | Repository |2 __|__ _____ ____ | | | | / \ | |---------| |------| | |_____| |_____| \_____/ | EC Server Apache Browser |1 ___|___ | | | | |_____| Agents
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.