Skip to content

Commit

Permalink
refactor(network): change delivery ip to 0.0.0.0, i.e. all interfaces…
Browse files Browse the repository at this point in the history
… instead of 127.0.0.1 to enable docker deployment
  • Loading branch information
BjoernLudwigPTB committed Jul 14, 2021
1 parent cf54655 commit 2472826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agentMET4FOF/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def add_agent(
):
try:
if ip_addr is None:
ip_addr = "localhost"
ip_addr = "0.0.0.0"

if name == " ":
new_name = self.generate_module_name_byType(agentType)
Expand Down Expand Up @@ -441,7 +441,7 @@ def remove_agent(self, agent):

def __init__(
self,
ip_addr="127.0.0.1",
ip_addr="0.0.0.0",
port=3333,
connect=False,
log_filename="log_file.csv",
Expand Down

0 comments on commit 2472826

Please sign in to comment.