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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:15:27+00:00 2026-06-03T18:15:27+00:00

I have a web application. It is currently deployed on a remote server in

  • 0

I have a web application. It is currently deployed on a remote server in a Glassfish instance. Is it possible to remotely connect to the server and debug the application (like I would a normal java application) using Netbeans?

If someone has done this and could provide insight or could point me to a guide, that would be great.

I know this functionality exists with Visual Studio and ASP.Net. I was not sure if there is a java equivalent.

Most examples that I have seen online are for applications that are simply running on a remote machine or for debugging a Glassfish application running on the local machine.

  • 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-03T18:15:29+00:00Added an answer on June 3, 2026 at 6:15 pm

    Yes, it is possible.

    Once you have GlassFish running in debug mode, go to the Debug menu in NetBeans and click on Attach Debugger…, which brings up the Attach dialog. You’ll probably go with something like:

    Debugger: Java Debugger (JPDA)

    Connector: SocketAttach

    Transport: dt_socket

    Host: hostname_or_ip_address

    Port: 9009

    Timeout may be left blank. When you click OK on this dialog, you should be able to connect your NetBeans debugger to GlassFish.

    Remember:

    1. The firewall on your remote server (and any gateways in between) should allow connections to the debugger port (9009 in my example).
    2. Make sure you’re using matching port numbers. In the GlassFish admin console, usually at: http://localhost:4848
    3. Expand Configurations.
    4. Expand server-config (or whichever you are using).
    5. Click JVM Settings.
    6. Check Debug to Enabled.
    7. Verify that Debug Options contains:
      -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009

    Read the JPDA docs for other options you can use.

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

Sidebar

Related Questions

I have a web application currently deployed in jetty8, which is based on jsf2,
We currently have a Web Forms application deployed on IIS. Our goal right now
I have a web application that is deployed to a server. I am trying
Currently I have a web application where a user can use dropdown lists to
I have a web application that can load plugins through reflection. It currently uses
We have a web application that uses dropbox as file storage. We have currently
I'm currently writing a web application that have about 6-12 pages. On each one
I'm currently working on web application using VB in ASP.NET. Right now I have
I have a Clustered Windows Hosting site which currently hosts an MVC Web Application
I have deployed my application on server and Now I am getting this error:

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.