Re: SSH - Port Conflict??
- From: "Lew Pitcher" <lpitcher@xxxxxxxxxxxx>
- Date: 15 Nov 2006 11:17:08 -0800
amerar@xxxxxxx wrote:
Todd H. wrote:
"amerar@xxxxxxx" <amerar@xxxxxxx> writes:
Hi All,
I'm trying to change my SSH port from 22 to 443. I was able to do that
on my previous install of Red Hat 9.0, which ran OpenSSH_3.6.1p2.
Now I am running CentOS 4.4 and when I change the port to run on 443,
the sshd process will not start. There are no messages in the log
either. The same behavior takes place if I try and run it on Port 80,
but the service starts if I use some other random port, like 55.
So, there seems to be a port conflict. CentOS is using OpenSSH_3.9p1.
It worked with Red Hat, so I'm at a loss as to why I cannot do this.
Any help please?
What's netstat -an | grep 443 say?
--
Todd H.
http://www.toddh.net/
Hi Todd,
Thanks for replying. Here is the output:
tcp 0 0 :::443 :::* LISTEN
Does that help at all?
It certainly is a clue.
Standard interfaces do not permit processes to bind to a port that is
already in use. Port 443 is the standard port for HTTPS, and port 80 is
the standard port for HTTP. If you have a webserver already active on
your system, it has already bound itself to port 80 and likely also
port 443. Any new program (like sshd) cannot bind to those ports
because they are already in use.
If you absolutely /must/ use port 443, shut down your webserver, or at
least disable it's use of HTTPS.
HTH
--
Lew
.
- Follow-Ups:
- Re: SSH - Port Conflict??
- From: amerar@xxxxxxx
- Re: SSH - Port Conflict??
- References:
- SSH - Port Conflict??
- From: amerar@xxxxxxx
- Re: SSH - Port Conflict??
- From: Todd H.
- Re: SSH - Port Conflict??
- From: amerar@xxxxxxx
- SSH - Port Conflict??
- Prev by Date: Re: SSH - Port Conflict??
- Next by Date: Re: SSH - Port Conflict??
- Previous by thread: Re: SSH - Port Conflict??
- Next by thread: Re: SSH - Port Conflict??
- Index(es):
Relevant Pages
|
|