kong62 opened a new issue, #203:
URL: https://github.com/apache/doris-mcp-server/issues/203
cannot remote access
```
# export DORIS_HOST=10.64.56.145
# export DORIS_PORT=9030
# export DORIS_USER=root
# export DORIS_PASSWORD=''
# export DORIS_DATABASE=otel
# export ALLOW_UNAUTHENTICATED_NON_LOOPBACK=true
# doris-mcp-server --transport http \
--host 0.0.0.0 \
--port 3000
```
```
# curl -H 'Host: localhost' -v http://10.64.57.72:3000/mcp
* Trying 10.64.57.72:3000...
* Connected to 10.64.57.72 (10.64.57.72) port 3000 (#0)
> GET /mcp HTTP/1.1
> Host: localhost
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 421 Misdirected Request
< date: Wed, 05 Aug 2026 02:31:27 GMT
< server: uvicorn
< content-length: 19
<
* Connection #0 to host 10.64.57.72 left intact
Invalid Host header
# PYTHONWARNINGS="ignore::UserWarning" fastmcp list
http://10.64.57.72:3000/mcp
Error: Client error '421 Misdirected Request' for url
'http://10.64.57.72:3000/mcp'
For more information check:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]