Casual Chat | Issues with Database Ports

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

Original topic: 闲聊贴 | 数据库端口的问题

| username: ShawnYan

If TiDB and proxy are started at the same time, will everyone change TiDB’s port 4000 to another port? And then use the proxy to listen on port 4000?

Even in an experimental environment where they are deployed together on a single machine, would you change the TiDB port or the proxy port?

| username: Kongdom | Original post link

That’s too troublesome, we all just directly change the proxy port. :wink:

| username: 像风一样的男子 | Original post link

We changed the load balancing port, but the default TiDB port remains unchanged.

| username: TiDBer_vfJBUcxl | Original post link

Directly change the proxy port.

| username: 有猫万事足 | Original post link

Generally, the number of proxies is less than the number of TiDB instances.

So, should we reduce rather than increase? Modify the proxy. :joy:

| username: redgame | Original post link

No, it will change the proxy address.

| username: chenhanneu | Original post link

Prepare to change everything later.