Does TiDB Playground only support local testing when running tests?

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

Original topic: TiDB Playground方式运行测试的时候只支持本机测试吗?

| username: 哈喽沃德

[Test Environment for TiDB] Testing
[TiDB Version] V7.4.0
[Issue Encountered: Unable to access via LAN computer, firewall ports have been allowed, local telnet only works with loopback address, physical IP address is unreachable. What settings are needed to allow access from other machines in the LAN?

| username: 哈喽沃德 | Original post link

The image is not visible. Please provide the text you want to translate.

| username: 哈喽沃德 | Original post link

I want to access that Dashboard and Grafana.

| username: tidb菜鸟一只 | Original post link

tiup playground v6.5.6 --host 0.0.0.0
In this way, if the host is not specified, it defaults to binding to 127.0.0.1, meaning only the local machine can access it.

| username: 哈喽沃德 | Original post link

Sure enough, it works. Doesn’t Grafana have a Chinese interface?

| username: tidb菜鸟一只 | Original post link

To import the Chinese package separately, you can search on Baidu.

| username: 哈喽沃德 | Original post link

Okay, thank you very much, expert.

| username: Fly-bird | Original post link

tiup playground v6.5.1 --db 2 --pd 3 --kv 3 --host 192.168.66.10

| username: 哈喽沃德 | Original post link

I don’t know why, but version 7.4.0 cannot be specified.

| username: Jellybean | Original post link

TiUP Playground listens on 127.0.0.1 by default, making the service accessible only locally. If you need the service to be accessible externally, you can use the --host parameter to specify the network interface binding to an externally accessible IP.

| username: 哈喽沃德 | Original post link

Got it, thanks.

| username: zhanggame1 | Original post link

For testing purposes, you can consider deploying on a single machine, which is also very simple.

| username: 哈喽沃德 | Original post link

Okay, I’ll set up a single-machine environment to get familiar with it first, and then I’ll work on multiple machines.

| username: heiwandou | Original post link

Start with a specified IP

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.