Configuration and debugging of third-party interfaces

The authentication method of the third-party interface adopts IP authentication.

first step:

Versions above V2.1.7.00 can be set directly on the vos client

Interface Management—>WEB Access Control

Directly input the IP address that needs to access the third-party interface into the IP that is allowed to access.

Versions below V2.1.6.00 need to modify the configuration file to the root background server.

Edit file

Vi /home/kunshiweb/base/apache-tomcat/conf/Catalina/localhost/external.xml

Then execute the command to restart the web service.

/etc/init.d/webserverd restart

Example

Assuming the debugger’s local IP is 172.16.5.55, then you need to

/home/kunshiweb/base/apache-tomcat/conf/Catalina/localhost/external.xml file

Path=”/external/server” allow=”127.0.0.1|172.16.5.55″

Path=”/external/test” allow=”127.0.0.1|172.16.5.55″

The second step:

Open http://ip:8080/external/test/server/ to enter the interface debugging interface.

Click on the corresponding title and debug according to the interface documentation.

Precautions:

If the VOS server is on the public network and the debugger machine is on the intranet, then the access address on the VOS server needs to be added to the local public network address corresponding to the debugger’s intranet.

Leave a Reply

Your email address will not be published. Required fields are marked *