$OpenBSD: patch-lib_phusion_passenger_standalone_command_rb,v 1.2 2014/06/24 21:45:06 jeremy Exp $
--- lib/phusion_passenger/standalone/command.rb.orig	Thu May 29 05:13:26 2014
+++ lib/phusion_passenger/standalone/command.rb	Thu Jun  5 09:25:29 2014
@@ -291,7 +291,7 @@ private
 		if @options[:socket_file]
 			ping_spec = [:unix, @options[:socket_file]]
 		else
-			ping_spec = [:tcp, @options[:address], nginx_ping_port]
+			ping_spec = [:tcp, @options[:address] == '0.0.0.0' ? '127.0.0.1' : @options[:address], nginx_ping_port]
 		end
 		opts = {
 			:identifier    => 'Nginx',
