Something unknown listening on ports 80 and 443

Petter Adsen petter at synth.no
Sun Aug 2 12:29:09 UTC 2015


On Sun, 02 Aug 2015 12:21:24 +0000
Some Body <somebody.mozfr at gmail.com> wrote:

> Hello,
> 
> I have a PC with Ubuntu 14.04. I tried to map the open ports on it with
> nmap.
> 
> If I do it locally, I get that :
> $ nmap localhost
> ...
> PORT    STATE SERVICE
> 22/tcp  open  ssh
> 631/tcp open  ipp
> ...
> 
> (ipp is listening only locally, no problem here)
> 
> 
> But after trying from my laptop, I see the HTTP (80) and HTTPS (443) ports
> open :
> $ nmap X.X.X.X
> ...
> PORT    STATE SERVICE
> 22/tcp  open  ssh
> 80/tcp  open  http
> 443/tcp open  https
> ...
> 
> I re-installed Ubuntu some days ago and I didn't install any Web server, or
> anything that could listen on these ports. I don't want anything but ssh
> listening on this computer.
> 
> How do I find what's listening on the 80 and 443 ports ? And what is
> susceptible of listening on a newly installed Ubuntu 14.04 ? I thought that
> a fresh Ubuntu install had all ports closed.

Use 'netstat'. 'sudo netstat -lp' will show you what processes are
listening, and on what ports. See the man page for details.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150802/5171ef70/attachment.sig>


More information about the ubuntu-users mailing list