Re: SSH - Port Conflict??



In article <1163618491.859655.320430@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
amerar@xxxxxxx wrote:

Lew Pitcher wrote:

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

Hmm....why did it work in Red Hat 9.0?? Also, where do I shut down
https?

Presumably because you weren't running apache on the RH9 box, or
if you were, it wasn't set up to run https. I don't know that
much about Apache, so I can't give you much advice about what
you want to do to get it to free up the port. A lot depends
on what the Apache server is doing there; if it's actively
serving up encrypted web pages, you'll break that when you
take it off port 443.

That netstat command on my Red Hat 9.0 server gives this output:

tcp 0 0 0.0.0.0:443 0.0.0.0:*
LISTEN
tcp 0 0 192.168.1.110:443 192.108.183.4:39472
ESTABLISHED
tcp 0 0 192.168.1.110:443 192.168.1.100:4989
ESTABLISHED
tcp 0 0 192.168.1.110:443 192.108.183.4:40648
ESTABLISHED


This is the box where you're running sshd on port 443, right?
Then what you're seeing here is the sshd listening on port 443,
and three people logged on to it, two from 192.108.183.4, and
one from 192.168.1.100. You can have multiple connections
through one port, but only one process can *listen* on the port
for new connections.


--
Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
.



Relevant Pages

  • Re: How to set multiple SMTP ports?
    ... port 26 doesn't belong anywhere near a computer serving other people. ... Proposed Standard RFC doesn't get reclassified as a Draft Standard, ...
    (comp.mail.eudora.mac)
  • Re: P5B Question
    ... a friend of my son built a system with a P5WD2-E Premium, which has such a com port also, didn't use the COM port dongle and left it here. ... [There is an "alternative" standard which wires every other pin to the two rows, as if the DB-9 was an IDC socket. ... I have a bunch of them, I have a drawer full from the days of the "AT" motherboard standard. ... Yes, Asus has them at their "store" for $7, but the shipping costs more than the item and there is a major hassle factor. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: DCOM error
    ... Are you using Microsoft Standard TCP Port or HP Standard TCP Port. ... I ran the HP cd on all 4 machines and ...
    (microsoft.public.windowsxp.print_fax)
  • Re: hardware errors, do C and Forth need different things in hardware?
    ... processor configuration of the port to a standard baud rate) if I code in assembler. ... you comparing apples to oranges. ... The HC08 microcontroller I targeted is a standard accumulator-based CPU, with all the inherent inefficiencies for such designs. ... with no visible OS or video output' (as ...
    (comp.lang.forth)
  • Re: GCC include files conundrum.
    ... `strstream.h' was never a standard C++ header, but rather a part of SGI ... These are deprecated features, ... The longer term solution is to kill the port, or to port it to Standard ... Porting it to Standard C++ would probably entail rewriting uses of ...
    (freebsd-current)