Как IntelliJ IDEA узнает номер порта работающего проекта Spring Boot?JAVA

Программисты JAVA общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Как IntelliJ IDEA узнает номер порта работающего проекта Spring Boot?

Сообщение Anonymous »


When using IntelliJ IDEA Ultimate, launching a Spring Boot project automatically displays the port number in the IDE.

I would like to understand the principle behind this.


Изображение


Even when I set server.port=0 in the configuration file and turn off the output logs, IntelliJ IDEA still manages to recognize the port number. It is said online that this information is obtained from JMX. Indeed, when I disable the JMX endpoints in the IDEA run configuration, the port number is no longer recognized. However, when I use JConsole to inspect all properties of the running Spring Boot project, none of the values match the startup port number.


Изображение



Источник: https://stackoverflow.com/questions/781 ... ot-project
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «JAVA»