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 786627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:04:21+00:00 2026-05-14T21:04:21+00:00

I am developing an application in Netbeans, and it is using JavaDB. I can

  • 0

I am developing an application in Netbeans, and it is using JavaDB. I can connect to it and execute queries without issues, but for some reason, the “Output – JavaDB Database Process” pane within Netbeans keeps displaying

Security manager installed using the Basic server security policy.
Could not listen on port 1527 on host localhost:
 java.net.BindException: Address already in use

How do I find out what process is already using, or bound to that port?


On Ubuntu Karmic, Netbeans 6.7.1

  • 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-05-14T21:04:22+00:00Added an answer on May 14, 2026 at 9:04 pm

    To find the pid of a process listening to the port 1527, either use:

    $ netstat -ap | grep 1527
    tcp6       0      0 localhost:1527          [::]:*                  LISTEN      31962/java      
    

    or

    $ lsof -i :1527
    COMMAND   PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
    java    31962 pascal   28u  IPv6 13413903      0t0  TCP localhost:1527 (LISTEN)
    

    And then:

    $ ps aux | grep 31962 | grep -v grep
    pascal   31962  0.1  0.2 674936  4172 pts/1    Sl   May08   1:23 /usr/lib/jvm/java-6-sun/bin/java -classpath /usr/share/javadb/lib/derby.jar:/usr/share/javadb/lib/derbynet.jar:/usr/share/javadb/lib/derbytools.jar:/usr/share/javadb/lib/derbyclient.jar org.apache.derby.drda.NetworkServerControl start
    

    And I’m pretty sure that what you’ll find is the pid of a Java process corresponding to JavaDB (I don’t know many processes using port 1527 apart from JavaDB). How did you actually start it?

    PS: I’m using JavaDB that I’m starting on the command line, outside any IDE.

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

Sidebar

Related Questions

I am using Netbeans IDE (J2ME) for developing a mobile application, a dictionary which
I'm a web developer and now developing a swing application. I'm using Netbeans. Currently
I'm developing a j2me application using Netbeans IDE and LWUIT library. I need to
I'm developing a j2me application using Netbeans IDE and LWUIT library. I'm using Persian
I'm using Netbeans IDE for developing a web applications, and I've some JARs available
I am developing a web application using JSF on Netbeans 7.0. I have created
I am developing a web application using NetBeans and MySQL as the database. I
I am developing a standalone application, in Java using NetBeans, that gets and sends
I am developing a small desktop application in JAVA using Netbeans. I place a
I am developing a C++ application using NetBeans 6.9 on Ubuntu 11.04. I am

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.