Redirect port from 8080 to 80 in linux server(2)
434 ワード
iptablesがインストールされていなかったらどうすればいいですか?
httpサービスに参加します。
参考資料:
1http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-tcpwrappers-xinetd-config.html
2http://linux.vbird.org/linux_baic/0560 daemons.php
httpサービスに参加します。
service http
{
disable = no
socket_type = stream
wait = no
redirect = 127.0.0.1 8080
log_type = FILE logpath
}
再起動/etc/init.d/xinetd retart参考資料:
1http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-tcpwrappers-xinetd-config.html
2http://linux.vbird.org/linux_baic/0560 daemons.php