java - How to get the IP and Port number from bluemix? -


i want use server ip address , port number 1 of applications. unable find bluemix server ip , port number java application hosted.

the server ip address , port change each time restart or restage application. access server ip address , port app instance using can folowing system properties java application:

  • vcap_app_host
  • vcap_port

Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -