Skip to content

Commit

Permalink
replace localhost with ip address for hpc
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyinz authored Jun 8, 2022
1 parent 04f987e commit 18f8f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mspasspy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(
elif MSPASS_DB_ADDRESS:
database_address = MSPASS_DB_ADDRESS
else:
database_address = "localhost"
database_address = "127.0.0.1"
# add port
if not database_host_has_port and MONGODB_PORT:
database_address += ":" + MONGODB_PORT
Expand Down

0 comments on commit 18f8f33

Please sign in to comment.