- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Enable port
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
05-07-2009 08:29 PM
05-07-2009 08:29 PM
Can you please tell me .how to enable port in HP-UX.
Many Thanks,
Pratibha
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 08:39 PM
05-07-2009 08:39 PM
Re: Enable port
What port/application you talk about?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 09:16 PM
05-07-2009 09:16 PM
Solutionhttp://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1266402
First look into /etc/services.
/etc/services :- Lists service names and ports/protocols used with these services
2)put the entry in /etc/inetd.conf.suppose I have to use telnet then entry will be like in /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
3)check configer port lisnening or not
#netstat -na |grep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 09:23 PM
05-07-2009 09:23 PM
Re: Enable port
Check with the application owner what port they want you to enable on unix side.
Make sure there should be uniqe port entries in /etc/services to avoid conflicts.
To check if any application listening on port: # netstat -an |grep
You can use private ports from 49152 through 65535.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 10:51 PM
05-07-2009 10:51 PM
Re: Enable port
For which application and which port you want to open.
/etc/services is the file where all port no are mention
if you want to block some port then put #sign at the beginning of that line for opening the port delete this character from there and restart your net with inetd -c
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2009 01:17 AM
05-08-2009 01:17 AM
Re: Enable port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2009 07:39 AM
05-08-2009 07:39 AM
Re: Enable port
> no are mention
This is not true, unless by "all" you mean
"some, but not all". It's easy to create an
IP network service which uses a port number
which is not mentioned in /etc/services. In
fact, it's easier to use constants in the
code than it is to get the info from
getservbyname().