English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do i change apache's default port on linux? my router uses port 80 too so need to change apache's port! my router has a built in modem..if you answer this question can you please tell e step by step i amnewish to linux i have only been using it for 4+ months thankyou

2007-03-17 12:11:37 · 2 answers · asked by Anonymous in Computers & Internet Other - Computers

2 answers

Your router, if it even has an outside port, should be using port 8080, not 80. Nevertheless, many ISPs block port 80, and changing the port will protect you somewhat from attacks.

You need to edit the httpd.conf file. There is a port field which should be simple to change.

You might be able to find httpd.conf in /etc/httpd/conf/.

2007-03-17 12:18:49 · answer #1 · answered by Arcking 5 · 0 0

http 80/tcp World Wide Web HTTP
http 80/udp World Wide Web HTTP
www 80/tcp World Wide Web HTTP
www 80/udp World Wide Web HTTP
www-http 80/tcp World Wide Web HTTP
www-http 80/udp World Wide Web HTTP

http-mgmt 280/tcp http-mgmt
http-mgmt 280/udp http-mgmt

cddbp-alt8880/tcp CDDBP
cddbp-alt8880/udp CDDBP

These are internet ports.

2007-03-17 12:18:47 · answer #2 · answered by ? 7 · 0 1

fedest.com, questions and answers