Skip to content

Commit

Permalink
0.0.0.0 works on all devices, localhost does not work on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartdesign committed Sep 7, 2024
1 parent a3ec2e2 commit 2c9925e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ The "paused" connections aren't really paused. Their data is still accepted but
```ini
[DMDServer]
# The address (interface) to listen for TCP connections.
Addr = localhost
Addr = 0.0.0.0
# The port to listen for TCP connections.
Port = 6789
# Set to 1 if Serum colorization should be used, 0 if not.
Expand Down

2 comments on commit 2c9925e

@jsm174
Copy link
Collaborator

@jsm174 jsm174 commented on 2c9925e Sep 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.0.0.0 allows incoming connections from other devices as the default
127.0.0.1 allows incoming connections only on the same machine

I would assume 127.0.0.1 would be more the safer default?

@bartdesign
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from that perspective yes; but for users maybe we need to specify this in the readme and ini text.

Please sign in to comment.