Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.net.ConnectException when running IntelliJ debugger

I am trying to debug my Java server with IntelliJ. Every time I start the debugger it shows:

Error running game debug: Unable to open debugger port : java.net.ConnectException "Connection refused: connect"

I switched off the firewall for Windows, as well as my antivirus scanner, but it's still showing the error.

enter image description here

like image 412
user3217746 Avatar asked Sep 13 '26 17:09

user3217746


1 Answers

Connection refused can be happened due to many reasons. It can be due to firewall or proxy. Please check in the Internet Connections whether you are using any proxy or not. If you are using any proxy, you have to use proxy through that you can create connection.

like image 67
Sagar Rout Avatar answered Sep 15 '26 09:09

Sagar Rout



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!