You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/02/04 08:14:11 UTC

[incubator-openwhisk-runtime-docker] branch master updated: Create socket on specific ipv4 address. (#2)

This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-runtime-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 2860a9b  Create socket on specific ipv4 address. (#2)
2860a9b is described below

commit 2860a9b98755d8e08894c1b551f807bce05c9066
Author: Markus Thömmes <ma...@me.com>
AuthorDate: Sun Feb 4 09:14:09 2018 +0100

    Create socket on specific ipv4 address. (#2)
    
    Not being specific here causes python3 to try an ipv6 address first which fails on kernels which do not contain the ipv6 module.
---
 core/actionProxy/actionproxy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/actionProxy/actionproxy.py b/core/actionProxy/actionproxy.py
index c68231f..8e43576 100644
--- a/core/actionProxy/actionproxy.py
+++ b/core/actionProxy/actionproxy.py
@@ -263,7 +263,7 @@ def complete(response):
 
 def main():
     port = int(os.getenv('FLASK_PROXY_PORT', 8080))
-    server = WSGIServer(('', port), proxy, log=None)
+    server = WSGIServer(('0.0.0.0', port), proxy, log=None)
     server.serve_forever()
 
 if __name__ == '__main__':

-- 
To stop receiving notification emails like this one, please contact
csantanapr@apache.org.