You are not logged in.

#1 2011-05-22 05:00:47

dodo3773
Member
Registered: 2011-03-17
Posts: 820

[Solved] Port 6001 open all of a sudden

I did a scan on my network just now and realized that port 6001 is open. I did not open it. The only thing I can think of is that I recently updated VirtualBox and it may have opened that port for me. Not sure. Is anyone else experiencing this? Does anyone know a solution? Another question I have is how would I find what program is using this port? I tried "lsof | grep 6001" and "netstat | grep 6001" but since there is no connection I do not see anything.

Edit: I also recently added second x session on tty8 that is the other possibility.

Last edited by dodo3773 (2011-05-22 05:51:07)

Offline

#2 2011-05-22 05:43:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,693

Re: [Solved] Port 6001 open all of a sudden

Try:

sudo netstat -pa

It will tell you which ports are open, and the name of the program that owns them


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2011-05-22 05:50:41

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [Solved] Port 6001 open all of a sudden

ewaller wrote:

Try:

sudo netstat -pa

It will tell you which ports are open, and the name of the program that owns them

Thank you for the quick response. I think I figured out what happened. My secondary xinit was being loaded like this

xinit /home/dodo3773/.openbox.xinitrc -- :1 

which for some reason was ignoring "/etc/X11/xinit/xserverrc"

So, I changed it to

xinit /home/dodo3773/.openbox.xinitrc -- :1 -nolisten tcp

and everything is back as it should be.

Offline

Board footer

Powered by FluxBB