OpenERP : Change default web Port

To Change the default http port of OpenERP from 8069 to 80 in CentOS.

Add the following line in file “/etc/sysconfig/iptables” ( See the screenshot).

-A INPUT -p tcp -m state –state NEW -m tcp –dport 8069 -j ACCEPTImage

Run the command. Change eth0 according to your network.

/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8069 -i eth0

Run the command to pertinently save the rule to iptables.

iptables-save > /etc/sysconfig/iptables

Advertisements

, ,

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: