LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   about changing the port no (https://www.linuxquestions.org/questions/linux-security-4/about-changing-the-port-no-229966/)

dummyagain 09-13-2004 03:43 AM

about changing the port no
 
I am using Linux Fedora 2 and just installed the Apache as my Web Server (with OpenSSL and mod_ssl installed).


Someone told me that I shall change the port no (80 and 443 to the private port, like 60000 and 60001), but I have no idea why I need to change so, and I fear that if I change the port, the Mozilla will no longer able to connect to internet (as the port is changed....)
....
Also, Is it because I can make my web server more secured if I changed the port, can anyone tell me more about this?

Thanks so much!!!

dominant 09-13-2004 04:22 AM

Then you should access you web server using http://server.com:60000 and http://server.com:60001 respectively.

The reason that someone changes a known port to an unknown one is that these ports are difficult to be detected by untrusted person(possibly intruders)

And if they attempt to port scan your machine then your firewall will block their ip

bestofmed 09-13-2004 04:24 AM

Yes changing the http server port no will make your computer safer but remeber that 80 is the standard port no for http servers, so if you changed it make sure to write the address as follow:

http://hostname:port_no/

e.g.:
http://hostname:6000/

In my opinion it's not really needed to change the port no coz the security should be @ the server level not at the connection level. Just be uptodate in updating the server.


All times are GMT -5. The time now is 08:43 PM.