diff --git a/python/agent-framework/sample-agent/host_agent_server.py b/python/agent-framework/sample-agent/host_agent_server.py index 00a80375..59f5aac1 100644 --- a/python/agent-framework/sample-agent/host_agent_server.py +++ b/python/agent-framework/sample-agent/host_agent_server.py @@ -332,12 +332,12 @@ async def anonymous_claims(request, handler): print(f"šŸ¢ {self.agent_class.__name__}") print("=" * 80) print(f"šŸ”’ Auth: {'Enabled' if auth_configuration else 'Anonymous'}") - print(f"šŸš€ Server: localhost:{port}") + print(f"šŸš€ Server: Listening on 0.0.0.0:{port} (all interfaces)") print(f"šŸ“š Endpoint: http://localhost:{port}/api/messages") print(f"ā¤ļø Health: http://localhost:{port}/api/health\n") try: - run_app(app, host="localhost", port=port, handle_signals=True) + run_app(app, host="0.0.0.0", port=port, handle_signals=True) except KeyboardInterrupt: print("\nšŸ‘‹ Server stopped")