Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7847117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:47:30+00:00 2026-06-02T17:47:30+00:00

I lunched a simulator program which developed on C++ in my Ubuntu 11 when

  • 0

I lunched a simulator program which developed on C++ in my Ubuntu 11 when i want kill this process from process list of Linux and want to run it again, i faced to this error:

Error initializing sockets: port=6000. Address already in use

I used lsof command to find PID of process:

saman@jack:~$ lsof -i:6000
COMMAND    PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
rcssserve 8764 saman    3u  IPv4  81762      0t0  UDP *:x11

after that i tried to kill PID of 8764. but still it has error.
How can i fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:47:31+00:00Added an answer on June 2, 2026 at 5:47 pm

    I think the problem you are having is that the socket if it is not shutdown correctly then it is still reserved and waiting for a timeout to be closed by the kernel.

    Try doing a netstat -nutap and see if there’s a line like this:

    tcp        0      0 AAA.AAA.AAA.AAA:6000     XXX.XXX.XXX.XXX:YYYY       TIME_WAIT   -
    

    if that’s the case you just have to wait until the kernel drops it (30 secs approx) until you can open the socket at 6000 without conflict

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to run the iOS simulator from the command line. I have
When my app is run in the iPhone simulator, the delegate method - (void)applicationWillTerminate:(UIApplication
My app works okay on the device, but not the simulator. When I run
I have developed an application in flash builder 4.5 for ipad device which retrieves
I am currently working on a large project. It is already lunched but the
The following method is launched from the constructor of UserControl. A cross thread exception
I have an application that is launched from within a service using a local
I have a Java program that is launched by a batch file with a
I selected toggle in call status bar in Simulator iOS 5 and launched my
When I'm using the device and click on my debug the application is lunched

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.