0

The host is set to localhost and the port is set to 8000.

Command line arguments: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000

Trying to debug my application. Tried setting the port to 5000 and 8983 and got the 'connection refused' error. command line arguments is not editable. Here is the screenshot

Does anyone know how to resolve this?

Dmitriy Popov
  • 2,150
  • 3
  • 25
  • 34
  • Looks similar too: https://stackoverflow.com/questions/138511/what-are-java-command-line-options-to-set-to-allow-jvm-to-be-remotely-debugged, please consider using `address=*:8000` instead, and please check that port 8000 is not already being used by another service – Yahor Barkouski Jul 12 '23 at 16:28
  • Please provide enough code so others can better understand or reproduce the problem. – Community Jul 13 '23 at 07:36

0 Answers0