Yealink Forums

Full Version: [FAQ] How to change the IP address of YDMP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When installing YDMP, user will fill a IP address of the YDMP. Then YDMP will generate a dm.cfg file which contain the YDMP IP address. If you change the IP of Centos OS, the YDMP IP address on dm.cfg won't change.
Example:
1. Centos OS IP address: 192.168.6.101, fill 192.168.6.101 as YDMP IP address when installing.
2. Change Centos OS IP address to 192.168.6.100. User still can access web UI of YDMP. The phones can't connect to YDMP, the IP address in dm.cfg file doesn't change, still 192.168.6.100. Phone still try connect to 192.168.6.100

There are two ways to change the IP address.
1. Uninstall then install, fill new IP address of YDMP.

2. Commands below to change IP address
Step 1: cd /usr/local/yealink/dm/tomcat_dm/webapps/ROOT/initData

Step 2: vi dm.cfg, change dm.server.address to new IP address then saved

Step 3: cd /usr/local/yealink/dm/tomcat_dm/webapps/ROOT/WEB-INF/classes/config/product

Step 4: replace the new IP address, via command below
sed -i 's/old IP address/new IP address/g' application.properties

Step 5: reboot the server
Reference URL's