also @ TechSpot: AMD Radeon HD 7770 & Radeon HD 7750 Review
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

Closing ports I see when I nmap ...

Thread Tools Search this Thread
  #1  
Old 07-25-2005
Newcomer, in training
 
Member since: Jul 2005, 1 posts
Closing ports I see when I nmap ...

When I run nmap on my enterprise box I get a list of ports (see below). Sunrpc I presume is used for an NFS mount I have to another box, ncd-pref is also related to caching of the mount (I'm guessing) ... but what is sometimes-rpc3 and do I need it open? Also ... why is X11 open like that twice when I run X on another box and use it with vnc etc without having to leave a port open specifically for X11 or X11:4.

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on pblade2 (127.0.0.1):
(The 1593 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
80/tcp open http
111/tcp open sunrpc
443/tcp open https
5977/tcp open ncd-pref-tcp
6000/tcp open X11
6004/tcp open X11:4
32770/tcp open sometimes-rpc3

I do appreciate your time and advice.

Thanks.
  #2  
Old 07-26-2005
Newcomer, in training
 
Location: Olathe, KS
Member since: Jul 2005, 10 posts
What operating system are you using?

If it's a BSD variant, try running:
sockstat -4

If it's a Linux machine, try:
netstat -e --program

Last edited by ihameed; 07-26-2005 at 01:01 PM..
  #3  
Old 07-27-2005
Mictlantecuhtli's Avatar
TechSpot Special Forces
 
Location: Finland
Member since: Feb 2002, 4,886 posts
System specs
Quote:
Originally Posted by mckilldj
why is X11 open like that twice when I run X on another box and use it with vnc etc without having to leave a port open specifically for X11 or X11:4.
Did you start X with --nolisten tcp parameter?

Read from here about port 32770. I'd say you should close it.
  #4  
Old 09-23-2005
jobeard's Avatar
TechSpot Ambassador
 
Location: Southern Calif.
Member since: Apr 2005, 10,832 posts
documentation only:

Quote:
Originally Posted by mckilldj
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on pblade2 (127.0.0.1):
(The 1593 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
80/tcp open http
111/tcp open sunrpc
443/tcp open https
5977/tcp open ncd-pref-tcp
6000/tcp open X11
6004/tcp open X11:4
32770/tcp open sometimes-rpc3
first: any port on 127.0.0.1 can ONLY be accessed from within your system.
Nothing on the internet can access this IP address.

Port 111 is the original Portmap service for InterProcess communications and
system to systems service mapping. Unless you have specific software that
needs this port open, you should disable it in /etc/services

If you're running a Desktop like GNU, KDE, you need X11 to be running.

Port 80 says you have a webserver active and port 22 is the SAFE
alternative to Telnet and FTP. Again, close these services unless you need them.
Closed Thread

Similar Topics
Topic Replies Forum
Closing a DOS application 2 Software Apps
IE7 keeps closing 17 Software Apps
COM ports, LISTENING ports? 0 Storage and Networking
Closing open TCP ports in XP 7 Windows OS
Nmap Security Scanner version 3.50 0 General Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 04:49 AM.