- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Services, ports.
Operating System - Linux
1755664
Members
3632
Online
108837
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2010 03:05 PM
тАО02-25-2010 03:05 PM
Services, ports.
How can i know the port and service for applications on the system.
i know netstat command but i do not know how i can get the service and/or port.
thanks a lot.
i know netstat command but i do not know how i can get the service and/or port.
thanks a lot.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2010 04:58 PM
тАО02-25-2010 04:58 PM
Re: Services, ports.
I can't say that I understand what you would
really like to know, but for a brief
discussion of another, similarly unclear
request, see:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1410504
(But ignore the misleading references there
to "reservation" and "reserve".)
Is there some actual problem which you wish
to solve?
really like to know, but for a brief
discussion of another, similarly unclear
request, see:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1410504
(But ignore the misleading references there
to "reservation" and "reserve".)
Is there some actual problem which you wish
to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2010 11:32 PM
тАО02-25-2010 11:32 PM
Re: Services, ports.
known services on linux ( and windows as well ) are decribed in file
/etc/services
cat /etc/services will show its content
Hope this helps
/etc/services
cat /etc/services will show its content
Hope this helps
/home/BIH/Sarajevo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2010 01:28 AM
тАО02-26-2010 01:28 AM
Re: Services, ports.
If it's the already running service that you would like to identify then as root you can execute
# netstat -tlnp
for listening tcp sockets with the pid/program that has that socket open printed in the last column (note, the -p option for GNU/netstat only works as root).
Likewise, for udp ports run
# netstat -ulnp
Of course,
# lsof -nPi | grep LISTEN
does also work.
# netstat -tlnp
for listening tcp sockets with the pid/program that has that socket open printed in the last column (note, the -p option for GNU/netstat only works as root).
Likewise, for udp ports run
# netstat -ulnp
Of course,
# lsof -nPi | grep LISTEN
does also work.
Madness, thy name is system administration
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP