最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Get remote host address from request - Stack Overflow

programmeradmin4浏览0评论

I have a Quarkus based application with a REST endpoints deployed in a Docker container. An application creates Open API document and send it back to the client. There is section Info about the server urls. I can set only a internal url as host name. How to get the external/public Url of this application?

Flow looks like here: Client -> Docker -> Container -> App -> (Resolve public URL) -> Add URL to OpenApi.Info -> Send back to the client.

发布评论

评论列表(0)

  1. 暂无评论