- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Port hung issue
Operating System - HP-UX
1754172
Members
3243
Online
108811
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
тАО04-12-2010 03:32 AM
тАО04-12-2010 03:32 AM
Port hung issue
I just killed my application that uses a port 57001 . After that i restated the same application but it is not comming up. I suspect that this port was hung as i found using netstat command as follows :
netstat -an | grep -i 57001
tcp 0 0 *.57001 *.* LISTEN
tcp 0 0 127.0.0.1.57001 127.0.0.1.63275 CLOSE_WAIT
tcp 0 0 127.0.0.1.63562 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.63507 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.63448 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.57001 127.0.0.1.63507 CLOSE_WAIT
tcp 0 0 127.0.0.1.57001 127.0.0.1.63448 CLOSE_WAIT
tcp 0 0 127.0.0.1.57001 127.0.0.1.63562 CLOSE_WAIT
tcp 0 0 127.0.0.1.63336 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.63392 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.63275 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.57001 127.0.0.1.63336 CLOSE_WAIT
tcp 0 0 127.0.0.1.57001 127.0.0.1.63392 CLOSE_WAIT
How to clear this port 57001
I used lsof -i tcp:57001
it has not shown any process id that used this port 57001.
PLease help me in this regards.
Sudhansu
netstat -an | grep -i 57001
tcp 0 0 *.57001 *.* LISTEN
tcp 0 0 127.0.0.1.57001 127.0.0.1.63275 CLOSE_WAIT
tcp 0 0 127.0.0.1.63562 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.63507 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.63448 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.57001 127.0.0.1.63507 CLOSE_WAIT
tcp 0 0 127.0.0.1.57001 127.0.0.1.63448 CLOSE_WAIT
tcp 0 0 127.0.0.1.57001 127.0.0.1.63562 CLOSE_WAIT
tcp 0 0 127.0.0.1.63336 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.63392 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.63275 127.0.0.1.57001 FIN_WAIT_2
tcp 0 0 127.0.0.1.57001 127.0.0.1.63336 CLOSE_WAIT
tcp 0 0 127.0.0.1.57001 127.0.0.1.63392 CLOSE_WAIT
How to clear this port 57001
I used lsof -i tcp:57001
it has not shown any process id that used this port 57001.
PLease help me in this regards.
Sudhansu
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2010 03:51 AM
тАО04-12-2010 03:51 AM
Re: Port hung issue
Hello Sudhansu,
Can you give me the output when you are trying to start the application.
Regards
Ankit
Can you give me the output when you are trying to start the application.
Regards
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2010 06:17 AM
тАО04-12-2010 06:17 AM
Re: Port hung issue
Hi
What is attached to your local host reserved ip 127.0.0.1? As 127.0.0.1.57001 is attached? And 127.0.0.63336 is attached? And 127.0.0.1.63392 is attached. Etc.
Review you netstat for 127.0.0.1.
What is attached to your local host reserved ip 127.0.0.1? As 127.0.0.1.57001 is attached? And 127.0.0.63336 is attached? And 127.0.0.1.63392 is attached. Etc.
Review you netstat for 127.0.0.1.
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2010 08:35 PM
тАО04-12-2010 08:35 PM
Re: Port hung issue
try this to clear the WAIT sessions.
ndd -get /dev/tcp tcp_status | grep | grep TCP_FIN_WAIT_2 | awk '{print $1}'
do
ndd -set /dev/tcp tcp_discon 0x${i}
if [ $? -eq 0 ]
then
echo "Cleared $i"
else
echo "Unable to clear $i"
fi
done
ndd -get /dev/tcp tcp_status | grep
do
ndd -set /dev/tcp tcp_discon 0x${i}
if [ $? -eq 0 ]
then
echo "Cleared $i"
else
echo "Unable to clear $i"
fi
done
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