boatrainlsz opened a new issue, #4779: URL: https://github.com/apache/inlong/issues/4779
### What happened login fail  ### What you expected to happen login success ### How to reproduce 1. sudo bin/inlong-daemon start manager 2. sudo bin/inlong-daemon start dashboard 3. open brower and visit 127.0.0.1, input default username and password(admin, inlong), click login 4. login fail with 502 error code ### Environment os-release: ``` PRETTY_NAME="Deepin 20.6" NAME="Deepin" VERSION_ID="20.6" VERSION="20.6" VERSION_CODENAME="apricot" ID=Deepin HOME_URL="https://www.deepin.org/" BUG_REPORT_URL="https://bbs.deepin.org/" ``` docker: ``` Client: Docker Engine - Community Version: 20.10.17 API version: 1.41 Go version: go1.17.11 Git commit: 100c701 Built: Mon Jun 6 23:03:11 2022 OS/Arch: linux/amd64 Context: default Experimental: true ``` I did some research, according to [this answer](https://stackoverflow.com/questions/38346847/nginx-docker-container-502-bad-gateway-response), I add the `--net host` paramter to docker command in `bin/inlong-daemon`, then problem solved. I'm wondering is there any other way to solve this? ### InLong version 1.2.0 ### InLong Component InLong Manager, InLong Dashboard ### Are you willing to submit PR? - [X] Yes, I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
