revert 7adf7d6 - jmp-fwdcalls plugover demands it

Denver Gingerich created

While this localhost hardcoding would work fine if sgx-bwmsgsv2 was
run on its own, it usually isn't.  Instead, it is run as a plugover
(see https://gitlab.com/ossguy/jmp-fwdcalls/commit/08d3acc for
details), and because the voice endpoint that jmp-fwdcalls responds to
is public (so our carrier can deliver voice-related requests directly
to it), we need the whole endpoint to be public, even though the
requests delivered to sgx-bwmsgsv2 don't require that.

Change summary

sgx-bwmsgsv2.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

sgx-bwmsgsv2.rb 🔗

@@ -1083,7 +1083,7 @@ at_exit do
 			SGXbwmsgsv2.write(msg)
 		end
 
-		server = Goliath::Server.new('127.0.0.1', ARGV[5].to_i)
+		server = Goliath::Server.new('0.0.0.0', ARGV[5].to_i)
 		server.api = WebhookHandler.new
 		server.app = Goliath::Rack::Builder.build(server.api.class, server.api)
 		server.logger = Log4r::Logger.new('goliath')