HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to disable/enable port.
Operating System - HP-UX
1833875
Members
2586
Online
110063
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
11-08-2002 05:03 AM
11-08-2002 05:03 AM
Hi Team:
I would like to knoe how do i enable/disable a specific port. the port number is 7025 and we use it for a xemulation. how do i disable/enable this tcp port? It is not listed in /etc/services.
Thanks
David.
I would like to knoe how do i enable/disable a specific port. the port number is 7025 and we use it for a xemulation. how do i disable/enable this tcp port? It is not listed in /etc/services.
Thanks
David.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2002 05:16 AM
11-08-2002 05:16 AM
Re: How to disable/enable port.
Where do you want to enable/disable it on a firewall or a server?
If you mean on a server then enabling a port is done by running an application that opens the port, to disable you close the application.
You could use the Oracle Net8 listener as an example. Say it's configured to listen on port 1521, if the listener isn't running then port 1521 is 'disabled', run the listener and the port becomes 'enabled'.
You can use the command netstat to find out what ports are enabled, try netstat -an|grep LISTEN
Regards,
John
If you mean on a server then enabling a port is done by running an application that opens the port, to disable you close the application.
You could use the Oracle Net8 listener as an example. Say it's configured to listen on port 1521, if the listener isn't running then port 1521 is 'disabled', run the listener and the port becomes 'enabled'.
You can use the command netstat to find out what ports are enabled, try netstat -an|grep LISTEN
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2002 05:19 AM
11-08-2002 05:19 AM
Solution
By the way, /etc/services doesn't enable/disable ports, it provides a way of associating port names with the port number (a bit like /etc/hosts with IP addresses). You don't need to have anything in /etc/services in order to use a port by number.
Regards,
John
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2002 05:21 AM
11-08-2002 05:21 AM
Re: How to disable/enable port.
Applications bind to ports - the applications don't necessarily care what's in /etc/services.
To disable/enable ports "firewall" style, look at things like ipfilter:
http://www.software.hp.com/ISS_products_list.html
Or get on intermediate network devices (routers) and add filters there.
To disable/enable ports "firewall" style, look at things like ipfilter:
http://www.software.hp.com/ISS_products_list.html
Or get on intermediate network devices (routers) and add filters there.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP