I have a problem when connection PHP Example API webserver.
I install the system as following:
1/ I install document server (developer edition), here is install link https://helpcenter.onlyoffice.com/serve ... ation.aspx.
This server has IP address : 192.168.131.146
2/ Then, I install webserver and use PHP Example API follow this link https://api.onlyoffice.com/editors/example/php.
This server has IP address: 192.168.131.144.
I also edit file config.php as:
Code: Select all
$GLOBALS['DOC_SERV_CONVERTER_URL'] = "https://192.168.131.146/ConvertService.ashx"; $GLOBALS['DOC_SERV_API_URL'] = "https://192.168.131.146/web-apps/apps/api/documents/api.js"; $GLOBALS['DOC_SERV_PRELOADER_URL'] = "https://192.168.131.146/web-apps/apps/api/documents/cache-scripts.html";
After installed successfully, I try:
- Stay on server 192.168.131.144, open web browser and type http://localhost/PHP%20Example/ view and edit office file --> it's worked!
- But, when I used to use another computer (have IP address: 192.168.101.58), open browser and type http://192.168.131.144/PHP%20Example/ ---> It appears in the web pages similar, I can upload files, but can not display or edit file (unknow error!!!)
All three machines can communicate with each other (I have check with ping cmd). Both server (192.168.131.146 and 192.168.131.144), I install in VMware and 192.168.101.58 is real computer.
I attack system scheme and the error. Please help me.