]po[ Main Menu
| Howto Change ]project-open[ Default Port |
|
|
|
Written by myOltrans
Sunday, 05 December 2010 20:12
This may be useful if you need several ]po[ installations running from one IP address. This howto is writen for the vmware installer of ]po[. The operation system is CentOS. 1. Change the port number (httpport) in the ]po[ config file: /web/projop/etc/config.tcl 2. Restart the aol server. Just kill all running instances and the inittab will start the server automatically - see /etc/inittab: killall -9 nsd 3. Open the new port. CeontOS uses iptables. If you have access to the graphical interphace on your server you can use System > Administration > Security Level and Firewall to open the ports, followed by System > Administration > Server Settings > Services to restart the firewall If you have only terminal access, follow these steps: First verify iptables is running with iptables -L and that its last entry is to vlock icmp. 3.1. iptables -D RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited 3.2. iptables -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 8002 -j ACCEPT 3.3. iptables -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited 3.4. iptables-save >/etc/sysconfig/iptables 3.5. Restart iptables service service iptables restart
Resources and credits: |


