Unable to access http://xxx.xxx.xxx.xxx:2379/dashboard

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 无法访问http://xxx.xxx.xxx.xxx:2379/dashboard

| username: TiDBer_77DemBHR

To improve efficiency, please provide the following information. Clear problem descriptions can be resolved more quickly:

[TiDB Usage Environment] Single machine deployment, testing, research

[TiDB Version] v6.1.0

[Encountered Problem]

http://10.xxx.xxx.66:2379/dashboard cannot be accessed

[Problem Phenomenon and Impact]

After running tiup playground normally, the output shows successful deployment.

Since the environment is deployed on another machine, I am using Xshell to connect, so I want to use the local Edge browser to access the dashboard, but access failed.

Using curl http://IP:2379/dashboard/ in the shell also failed.

Does anyone know why?

| username: 啦啦啦啦啦 | Original post link

Change the default listening address of PD to the local address, the default is 127.0.0.1
--pd.host
For example, tiup playground --pd.host xx.xx.xx.xx

| username: TiDBer_77DemBHR | Original post link

Wow, it works now. Thank you.

| username: ShawnYan | Original post link

Or directly use the host parameter when starting the service, tiup playground --host 10.xx.xx.66, so that you can directly connect to the DB using tools on the desktop.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. No new replies are allowed.