celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] rlenferink commented on a change in pull request #41: - Fix TCP example.
Date Fri, 09 Aug 2019 12:55:12 GMT
rlenferink commented on a change in pull request #41: - Fix TCP example.
URL: https://github.com/apache/celix/pull/41#discussion_r312465533
 
 

 ##########
 File path: bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c
 ##########
 @@ -198,7 +195,7 @@ pubsub_tcp_topic_sender_t *pubsub_tcpTopicSender_create(
                 char *url = NULL;
                 asprintf(&url, "tcp://%s:%u", bindIP, port);
                 char *bindUrl = NULL;
-                asprintf(&bindUrl, "tcp://0.0.0.0:%u", port);
+                asprintf(&bindUrl, "tcp://127.0.0.1:%u", port);
 
 Review comment:
   Why change this to localhost instead of 0.0.0.0?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message