To allow DMS to access your database instance, add the DMS IP address ranges for your region to the instance's firewall, whitelist, or security group.
Add DMS IP address ranges
Alibaba Cloud databases
Applies to: Alibaba Cloud databases and self-managed databases on ECS.
Add DMS IP address ranges as prompted
When you log on to an Alibaba Cloud database in DMS, a prompt asks you to add the DMS IP address ranges. Click Configure Whitelist in the dialog box, and then log on to the instance again.
Manually add DMS IP address ranges on the instance console
Log on to the Alibaba Cloud database console and find your instance.
Go to Whitelist and Security Groups for your instance.
Copy the DMS IP address ranges from the following table and add them to a whitelist group for your instance.
For example, if your instance is in the China (Hangzhou) region and uses a VPC, copy the IP addresses from the China (Hangzhou) row under the VPC column and add them to a whitelist group.
Other clouds and self-managed databases
For databases on other clouds, self-managed databases (except those on ECS), and databases connected over the public network or Express Connect, manually add the DMS IP addresses to the database's security settings.
DMS IP address list
Copy all DMS IP addresses for your region to the appropriate security settings.
Adding public network DMS IP address ranges may pose security risks. Proceed with caution.
Use strong passwords and restrict port access. You can also connect through Express Connect, VPN Gateway, or Smart Access Gateway (SAG).
Table 1. IP address list
Region | VPC | Classic network | Public network |
China (Hangzhou) | 100.104.175.0/24,100.104.201.0/26,100.104.52.0/24,100.104.61.128/26,100.104.244.64/26,100.104.216.192/26,100.104.85.0/26 | 11.193.54.0/24,10.143.32.0/24,10.143.34.0/24,10.137.42.0/24,10.152.29.0/24,10.6.226.32,10.6.226.33,10.187.128.215,10.187.128.216 | 8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26,8.139.112.0/26,8.139.112.128/26,8.139.112.64/26,8.139.99.192/26 |
China (Shanghai) | 100.104.5.0/24,100.104.205.0/24,100.104.226.128/26,100.104.149.64/26 | 10.152.163.0/24,10.137.42.0/24,11.154.24.173,10.219.211.172,10.219.211.173 | 139.224.4.85,139.224.4.79,101.133.205.192/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.103.170.0/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26 |
China (Nanjing - Local Region) (Closing Down) | 100.104.182.128/26 | 11.193.54.0/24,10.143.32.0/24,10.143.34.0/24,10.137.42.0/24,10.152.29.0/24,10.6.226.32,10.6.226.33,10.187.128.215,10.187.128.216 | 8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26 |
China (Qingdao) | 100.104.188.0/24,100.104.72.0/24,100.104.35.192/26 | 10.151.203.0/24,10.137.42.0/24,10.245.213.244,10.3.80.246 | 114.215.161.28,114.215.161.36,118.190.207.194,118.190.207.25,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26 |
China (Beijing) | 100.104.72.0/24,100.104.183.0/24,100.104.236.128/26,100.104.128.192/26,100.104.227.192/26 | 11.192.101.0/24,10.137.42.0/24,11.115.125.224 | 60.205.89.31,60.205.89.21,8.131.132.0/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26 |
China North 2 Ali Gov 1 | 100.104.175.0/24 | 39.107.188.202 | |
China (Zhangjiakou) | 100.104.205.0/24,100.104.175.0/24 | 11.192.243.0/24,11.193.233.87 | 47.92.22.68,39.101.252.128/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26 |
China (Hohhot) | 100.104.205.0/24,100.104.72.0/24 | 11.193.183.0/24,11.197.113.225 | 39.104.29.35,39.104.78.173,39.104.79.122,39.104.86.0,39.104.62.152,39.104.72.87,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26 |
China (Ulanqab) | 100.104.10.192/26 | 10.152.29.0/24 | 8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26 |
China (Ulanqab) GIC | 100.104.35.192/26 | 39.101.0.128/26,39.101.0.64/26,39.101.0.192/26 | |
Huhehaote Ali NMU | 100.104.188.192/26 | ||
China (Chengdu) | 100.104.5.0/26 | 11.195.52.68/24,11.119.156.53 | 47.108.22.35,47.109.5.0/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26 |
China (Shenzhen) | 100.104.5.0/24,100.104.75.64/26,100.104.235.192/26,100.104.205.0/24,100.104.41.64/26 | 10.152.27.0/24,10.137.42.0/24,10.245.164.219,10.43.97.214,10.43.97.215 | 120.76.91.7,120.76.91.29,47.113.76.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26 |
China (Heyuan) | 100.104.96.64/26 | 11.118.24.0/24,10.137.42.0/24,10.152.29.0/24 | 8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26 |
China (Guangzhou) | 100.104.248.128/26 | 10.137.42.0/24,10.152.29.0/24,10.58.93.2 | 8.134.79.141,8.134.79.143,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26 |
China (Wuhan - Local Region) | 100.104.193.128/26 | 11.193.54.0/24,10.143.32.0/24,10.143.34.0/24,10.137.42.0/24,10.152.29.0/24,10.6.226.32,10.6.226.33,10.187.128.215,10.187.128.216 | 8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26 |
Zhengzhou (CUCC Joint Venture) | 100.104.246.192/26 | 47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26 | |
China (Hong Kong) | 100.104.205.0/24,100.104.233.0/24,100.104.177.192/26,100.104.158.192/26 | 10.152.161.0/24,10.137.42.0/24,10.254.102.13 | 47.89.61.33,47.89.61.59,47.243.0.32/28,47.56.45.128/26,47.56.45.192/26,47.90.24.0/26,47.90.24.64/26 |
Singapore | 100.104.205.0/24,100.104.188.0/24,100.104.207.128/26,100.104.179.64/26,100.104.12.0/26 | 10.152.166.0/24,10.137.42.0/24,10.88.51.209 | 47.88.147.36,47.88.147.22,161.117.172.0/28,161.117.146.128/26,161.117.146.192/26,161.117.164.0/26,161.117.164.64/26 |
Malaysia (Kuala Lumpur) | 100.104.175.0/24,100.104.5.0/24 | 11.193.189.0/24,11.196.42.179 | 47.254.212.25,47.250.34.128/28,47.250.30.0/26,47.250.30.64/26,47.250.30.128/26,47.250.30.192/26,47.250.29.0/26,47.250.29.64/26,47.250.29.128/26,47.250.29.192/26,47.77.112.0/20,47.87.192.0/18 |
Indonesia (Jakarta) | 100.104.5.0/24,100.104.35.192/26,100.104.175.0/24 | 11.194.48.0/22,11.59.138.151 | 149.129.228.88,147.139.165.206,147.139.133.46,147.139.179.168,147.139.132.101,147.139.156.0/26,147.139.156.64/26,147.139.156.128/26,149.129.230.192/26,149.129.229.0/26,149.129.229.64/26,149.129.229.128/26,149.129.229.192/26,8.215.158.0/26,8.215.158.64/26,8.215.158.128/26,8.215.158.192/26,47.77.112.0/20,47.87.192.0/18 |
Japan (Tokyo) | 100.104.205.0/24,100.104.112.0/24,100.104.117.192/26 | 11.192.147.0/24,11.192.148.0/24,11.192.149.0/24 | 47.91.13.31,47.91.13.77,8.209.192.160/28,47.91.0.128/26,47.91.0.192/26,47.245.51.128/26,47.245.51.192/26,47.245.18.128/26,47.245.18.192/26,47.245.51.0/26,47.245.51.64/26,47.77.112.0/20,47.87.192.0/18 |
South Korea (Seoul) | 100.104.36.0/26 | 149.129.13.0/26,149.129.13.64/26,149.129.14.128/26,149.129.14.192/26,47.77.112.0/20,47.87.192.0/18 | |
US (Silicon Valley) | 100.104.205.0/24,100.104.48.128/26,100.104.175.0/24 | 10.152.31.0/24,10.137.42.0/24,10.60.82.16 | 47.89.224.28,47.89.224.56,47.88.1.17,47.88.6.196,47.88.10.217,47.88.15.174,47.88.98.0/26,47.88.98.64/26,47.88.98.128/26,47.88.98.192/26 |
US (Virginia) | 100.104.205.0/24,100.104.233.0/24,100.104.240.128/26 | 10.152.235.0/24,10.137.42.0/24,11.194.67.243 | 47.88.98.24,47.88.98.20,47.253.64.0/28,47.252.71.128/26,47.252.71.192/26,47.252.90.0/26,47.252.90.64/26,47.252.91.0/26,47.252.91.64/26,47.252.91.128/26,47.252.91.192/26,47.77.112.0/20,47.87.192.0/18 |
Mexico | 100.104.182.128/26 | 47.87.0.64/26,47.87.0.128/26,47.87.0.192/26,47.87.1.0/26,47.77.112.0/20,47.87.192.0/18 | |
UK (London) | 100.104.5.0/24,100.104.133.64/26,100.104.207.128/26 | 11.199.93.0/24,11.199.225.130 | 8.208.17.76,8.208.75.64/28,8.208.73.0/26,8.208.73.64/26,8.208.73.128/26,8.208.73.192/26,8.208.72.0/26,8.208.72.64/26,8.208.72.128/26,8.208.72.192/26,47.77.112.0/20,47.87.192.0/18 |
Germany (Frankfurt) | 100.104.233.0/24,100.104.5.0/24,100.104.193.128/26 | 11.192.169.0/24,11.192.170.0/24,11.194.56.218 | 47.91.83.56,47.91.83.15,47.245.155.0/28,8.209.86.0/26,47.254.165.64/26,47.254.165.128/26,47.254.165.192/26,47.254.180.0/26,47.254.180.128/26,47.254.180.192/26,47.254.180.64/26,47.77.112.0/20,47.87.192.0/18 |
France (Paris) | 100.104.111.128/26 | 8.208.73.0/26,8.208.73.128/26,8.208.73.192/26,8.208.73.64/26,8.208.72.0/26,8.208.72.128/26,8.208.72.192/26,8.208.72.64/26,47.77.112.0/20,47.87.192.0/18 | |
UAE (Dubai) | 100.104.5.0/24,100.104.205.0/24 | 11.192.189.0/24,11.192.190.0/24,11.192.191.0/24 | 47.91.102.19,47.91.103.51 |
Philippines (Manila) | 100.104.36.0/26 | 10.43.148.217,10.43.148.218 | 8.212.136.64/26,8.212.136.128/26,8.212.136.192/26,8.212.137.0/26,8.212.137.64/26,47.77.112.0/20,47.87.192.0/18 |
Thailand (Bangkok) | 100.104.106.192/26 | 10.186.15.148,10.186.15.149 | 8.213.162.64/26,8.213.162.128/26,8.213.162.192/26,8.213.163.0/26,47.81.23.64/26,47.81.23.128/26,47.81.23.192/26,47.81.52.0/26,47.77.112.0/20,47.87.192.0/18 |
SAU (Riyadh - Partner Region) | 100.104.12.0/26 | 10.187.119.182,10.187.119.183,10.187.115.137 | 8.213.0.128/26,8.213.0.192/26,8.213.5.0/26,8.213.5.64/26,8.213.16.59,8.213.16.91,8.213.16.111,8.213.16.17,8.213.16.123,8.213.6.0/26,8.213.6.64/26,8.213.6.128/26,8.213.6.192/26,47.77.112.0/20,47.87.192.0/18 |
China North 2 Finance (Preview) | 100.104.144.0/26 | 10.254.13.200,10.254.13.201,10.254.22.182 | 39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26 |
China East 1 Finance | 100.104.175.0/24,100.104.52.0/24,100.104.216.192/26 | 11.193.54.0/24,10.143.32.0/24,10.143.34.0/24,10.137.42.0/24,10.152.29.0/24 | 116.62.251.150,47.96.59.4,47.96.58.245,116.62.250.113,116.62.249.73,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26 |
China East 2 Finance | 100.104.72.0/24,100.104.175.0/24 | 10.152.163.0/24,10.137.42.0/24,10.152.29.0/24,10.254.213.170 | 139.224.122.227,139.224.123.13,139.224.124.107,139.224.123.165,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26 |
China South 1 Finance | 100.104.205.0/24,100.104.72.0/24 | 10.152.27.0/24,10.137.42.0/24,10.152.29.0/24 | 8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26 |
FAQ
Q: DMS still cannot connect after I add the IP address ranges. What do I do?
A: Troubleshoot as follows:
Wait a few minutes and try again. Whitelist changes may take time to take effect.
In the Add Instance or Edit dialog box, check the connection information, including the port number.
Q: Clicking Configure Whitelist in DMS fails. What do I do?
A: This can occur if a whitelist group named ali_dms_group already exists. Create a new whitelist group manually and add the DMS IP addresses. DMS uses
ali_dms_groupas the default group name and cannot create a duplicate.Q: My self-managed database's region is not in the IP address list. What do I do?
A: Select the region geographically closest to your database. When you register the instance, choose this region for Instance Region. Add the DMS IP addresses for this region to your database's security settings and configure network access, such as enabling public network access or creating a database gateway.