-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
This line is polluting my server logs:
Warning: Server is binding to 0.0.0.0 without DNS rebinding protection. Consider using the allowedHosts option to restrict allowed hosts, or use authentication to protect your server.
As the MCP server sits behind a reverse proxy in an encapsulated container, this warning is not meaningful to me.
In general it is bad practice, if 3rd-party libraries submitting log output to an environment they do not really own.
Also, as I already explicitly defined 0.0.0.0 by setting it with createMcpExpressApp({ host: '0.0.0.0' }), I expressed my will to do so. That means no warning is needed anyway as long 0.0.0.0 isn't the default.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels