Im using CamptoCamp GeoEngine OpenRP 6.1 v
I want to change port 8069 to another port. It seems conf file , what is the procedure and which file i have to change. Is there is any build and Setup procedure like adempiere .
When you start the server, pass in the xmlrpc-port manually as a different value, or just edit it in the server conf file.
./openerp-server -c server.conf --xmlrpc-port=9069 # or in your conf file xmlrpc_port = 9069
If you want to access on port 80 or 443 (SSL) to avoid the port numbers entirely, you may want to take a different approach. Port 80 can be done by leaving OpenERP running at 8069, then adding in an iptables rule to forward traffic from 80 to 8069. This bash script does the trick for me, just make sure you change eth0 if needed:
#!/bin/bash iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 iptables-save
If you want to run on HTTPS using port 443, I'd recommend a reverse proxy running outside of OpenERP for that. This is a pretty solid guide that I've used to set that up: http://www.vionblog.com/openerp-reverse-proxy-using-nginx-server/
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/24/13, 10:47 AM|
|Seen: 13984 times|
|Last updated: 3/16/15, 8:10 AM|