Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Use localhost by default for the server log socket. #1077

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/config/config_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ monolog:
server_log:
type: server_log
process_psr_3_messages: false
host: 0:9911
host: localhost:9911
Copy link
Member

Choose a reason for hiding this comment

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

Does 0.0.0.0 work on Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. I guess I wasn't sure what the implication of changing it to localhost would be. I'm guessing 0 gets translated to 0.0.0.0 on 'nix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I take that back. While it helps the dev environment not hang completely, windows will not write to 0.0.0.0 (rendering the server:log command useless). On Linux does that just mean write to all interfaces/IPs on the specified TCP port in this context?

# uncomment to get logging in your browser
# you may have to allow bigger header sizes in your Web server configuration
#firephp:
Expand Down