After creating a cloud database instance, you need to set the whitelist of the instance to allow external devices to access the cloud database instance. Operation steps: 1. Log in to the console ->ApsaraDB ->Manage ApsaraDB instances. 2. Find the target instance to set the white list, and click Manage 3. Click white list 4. On the white list setting page, click Modify in the default white list group, as shown in the following figure 5. In the Modify White List Grouping dialog box, fill in the IP address or IP segment that needs to access the instance, and then click OK - Specify IP: 192.168.0.1 Allow the IP address of 192.168.0.1 to access the database
- Specified IP segment: 192.168.0.0/24 Allow IP address access from 192.168.0.1 to 192.168.0.255:
- Multiple IP settings should be separated by commas, such as 192.168.0.1, 192.168.0.0/24
Common error cases - In Data Security>Whitelist Settings, only the default address is 127.0.0.1. This address means that no device is allowed to access the cloud database instance. Therefore, the IP address of the opposite end needs to be added to the white list.
- The white list is set to 0.0.0.0, and the correct format is 0.0.0.0/0. 0.0.0.0/0 means that any device is allowed to access the cloud database instance. Please use it carefully.
- The public IP address of the device you added to the white list may not be the real export IP address of the device. The reasons are as follows:
- The public IP address is not fixed and may change.
- The public IP address queried by the IP address query tool or website is inaccurate.
|