diff --git a/lib/dea/starting/instance.rb b/lib/dea/starting/instance.rb index 7d00ccd..c5f8ff0 100644 --- a/lib/dea/starting/instance.rb +++ b/lib/dea/starting/instance.rb @@ -863,7 +863,7 @@ def promise_health_check manifest_path = container_relative_path(container.path, manifest['state_file']) p.deliver(promise_state_file_ready(manifest_path).resolve) elsif !application_uris.empty? - p.deliver(promise_port_open(instance_container_port).resolve) + p.deliver(promise_port_open(instance_host_port).resolve) else p.deliver(true) end