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.

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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With