- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Opening port in HPUX
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
Discussions
Discussions
Forums
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
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
тАО03-16-2009 06:56 PM
тАО03-16-2009 06:56 PM
Opening port in HPUX
I am trying to open the port in hpux.
I've enterd the port in /etc/services but still reciving the below error
telnet localhost 21000
Trying...
telnet: Unable to connect to remote host: Connection refused
please help thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 06:59 PM
тАО03-16-2009 06:59 PM
Re: Opening port in HPUX
can please help to post the entry to put under the /etc/services ..?
after edting did you issue
# inetd -c (to reinitilze) try if helps.
# telnet
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 07:15 PM
тАО03-16-2009 07:15 PM
Re: Opening port in HPUX
host > egrep '28000|29000' /etc/services
28000 28000/tcp
29000 29000/tcp
I've already tried to inetd -c but dosent work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 07:17 PM
тАО03-16-2009 07:17 PM
Re: Opening port in HPUX
host > grep 21000 /etc/services
21000 21000/tcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 07:20 PM
тАО03-16-2009 07:20 PM
Re: Opening port in HPUX
28000 28000/tcp
29000 29000/tcp
<<
# telnet
# netstat -an|grep 28000 or 29000
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 07:32 PM
тАО03-16-2009 07:32 PM
Re: Opening port in HPUX
my 28000 is working fine...
but not 21000 would you please advise.
Also I need to stop this port from listing state. can advise me for the same. thanks!
> netstat -an | grep 28000
tcp 0 0 *.28000 *.* LISTEN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 07:40 PM
тАО03-16-2009 07:40 PM
Re: Opening port in HPUX
What does this mean, exactly?
> I've enterd the port in /etc/services [...]
And what did you expect this to do, exactly?
/etc/services provides a mapping between port
numbers and service names. It does not cause
any program to be run. (And it can't stop
most programs from running, either.)
man services
> [...] Connection refused
This normally means that there's no program
which is running (or registered as ready to
run) which is listening (or willing to
listen) to that port.
> # inetd -c [...]
This causes inetd to re-read _its_
configuration file (which is _not_
/etc/services). If you put something into
_that_, it might make a difference.
man inetd
man inetd.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 07:44 PM
тАО03-16-2009 07:44 PM
Re: Opening port in HPUX
> state. [...]
So, take something out of inetd.conf (or stop
the listening program, if it isn't started by
inetd).
Give /etc/services a (well deserved) rest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 07:44 PM
тАО03-16-2009 07:44 PM
Re: Opening port in HPUX
but not 21000 would you please advise.
how is your entry.? Does it look like below
Example:-
serive name port comment
omni 5555/tcp # DATA PROCTECTOR
>>>Also I need to stop this port from listing state. can advise me for the same. thanks!>
netstat -an | grep 28000
tcp 0 0 *.28000 *.* LISTEN<<<<
You can comment from /etc/service "port 28000" & inetd -c
Thanks,
JOhnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 07:47 PM
тАО03-16-2009 07:47 PM
Re: Opening port in HPUX
> 28000" & inetd -c
Yes, you can, but don't be amazed if it MAKES
NO DIFFERENCE.
PLEASE, GIVE /etc/services A (well deserved) REST.