Y
Y
Yasuro2018-12-03 20:27:24
Java
Yasuro, 2018-12-03 20:27:24

How to set up remote debug of springBoot application in intellij idea?

server on debain 9
using nginx
what i did:
run jar on server like this: java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n\ -jar my.jar (as in article https:/ /docs.spring.io/spring-boot/docs/current-SN...
Run the jar like this:
java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n -jar my.jar
set up idea so:
5c0566b967eb0517906570.png
and so: I
5c0566cb8afda090465818.png
checked the ports on the server with the command: lsof -n -P | grep LISTEN
Result:
5c0566f676679343032517.png
nmap -p 8000 xx.xxx.xxx.xxx command
result: Debug
5c0577c8bbccc801410220.jpeg
still does not want to connect.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Aleksandrovich, 2018-12-04
@tyanigor

Maybe Linux SE is enabled and blocking external connections?
It looks like the problem is in the firewall on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question