giovedì 29 dicembre 2011

openshift: vedere host e port

come suggeriscono nel forum:
https://www.redhat.com/openshift/community/forums/express/support-for-standalone-java-app


It'll be a port *and* IP you

It'll be a port *and* IP you need to bind to. Add the following to your .openshift/action_hooks/post_deploy script to see what you should be binding to:
echo "Bind to this port: $OPENSHIFT_INTERNAL_IP:$OPENSHIFT_INTERNAL_PORT"
Then use that IP and port for binding.

utile...

Nessun commento: