Skip to content

Commit

Permalink
Always set correct local IP address to improve console/worker connection
Browse files Browse the repository at this point in the history
  • Loading branch information
biddisco committed Dec 3, 2016
1 parent 0c6d9c9 commit 7cecab6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util/command_line_handling.cpp
Expand Up @@ -667,8 +667,7 @@ namespace hpx { namespace util
}
}

if ((vm.count("hpx:connect") || mode_ == hpx::runtime_mode_connect) &&
hpx_host == "127.0.0.1")
if (hpx_host == "127.0.0.1" || hpx_host == "localhost")
{
hpx_host = hpx::util::resolve_public_ip_address();
}
Expand Down

0 comments on commit 7cecab6

Please sign in to comment.