在Ubuntu上使用80端口

在Stackoverflow上问的问题,直接贴个地址,方便自己查找:
http://stackoverflow.com/questions/2444591/opening-port-80-with-java-application-on-ubuntu

简而言之,用iptables进行redirect,命令长的样子:
iptables -t nat -A PREROUTING -i eth0 -p tcp –dport http -j REDIRECT –to-ports 8080

This entry was posted on Monday, March 22nd, 2010 at 9:50 am and is filed under Ubuntu . You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.

  • English Version

    • Cannot read Chinese? Please take a look at my English site, hope you can find more you need there!
  • 感谢支持

  • twitter

    facebook

    linkedin

  • Categories