François Patte wrote:
>> You have a list of ports and associated devices/protocols in /etc/serveces

Doug:
> Tried the command from root in pclos and got permission denied. I
> don't know what if any ports are in use for anything, but I figured I
> might find out.

I'm surprised that root couldn't read that.  Or do you mean you tried to
execute that?  Rather than trying to read the contents of the
file /etc/services

I've always found netstat to be handy at seeing what services are trying
to do on my computer.  For example:

  netstat -antu

If you drop the "n" option, you'll see the names of things, rather than
the numerical IP addresses and port numbers.  For example:

  netstat -atu

Stick a "p" option onto the list, and you'll see the actual program
associated with the activity.

Either way, you'll see a bunch of lines with some having "LISTEN" as
their status.  Those are services listening to those ports, whether or
not anything is successfully communicating with them at the time.

But before you blindly allow anything that's listening, do some research
into the port numbers that you find listening.  Just open the ones
actually related to what you're trying to resolve.

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64

Boilerplate:  All mail to my mailbox is automatically deleted, there is
no point trying to privately email me, I only get to see the messages
posted to the mailing list.

Long ago I gave up on using Windows (TM) [Tantrum Machine], and I've
never regretted it.


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to