"url": 'http://localhost:8080 does not work

Discussion of the "Documents" module
Post Reply
Rachid
Posts: 1
Joined: Mon Sep 14, 2020 8:12 am

"url": 'http://localhost:8080 does not work

Post by Rachid » Mon Sep 14, 2020 8:23 am

Hello,

i use onlyoffice from docker : docker run -i -t -d -p 9090:80 onlyoffice/documentserver,
And i have angular application,
I try to use onlyoffice from my angular application,

let config: any = {
"document": {
"fileType": descriptor,
"key": this.codeGenerator(),
"title": this.name,
//"url": 'http://localhost:8080/data/data/data
//"url": 'http://127.0.0.1:80/',

//url :myIpAdresse:8080/incom-ecm-engine/openapi/dataproviders/content/474b6239-c4b4-450
"permissions": {
"comment": false,
"download": false,
"edit": false,
"fillForms": false,
"print": false,
"review": false
},
},
"documentType": this.mimetype,
"editorConfig": {
"mode": "view",
"lang": "fr-FR",
"commentAuthorOnly": true,
"compactToolbar": true,
"showReviewChanges": false
},
"height": "350",
"width": "100%",

"type": "desktop",
}

WHen i try to send in url

1- url : http://localhost:8080/urlOfDoc --> does not work with the error : nodeJS - error downloadFile:url=http://localhost:8080/ statutCode : 404
2- url : http://127.0.0.1:8080/urlOfDoc --> does not work with the error : nodeJS - error downloadFile:url=http://127.0.0.1:8080/ statutCode : 404
3-url : http://myIpAdresse(192.XXX.XXX.XXX):8080 --> does work

You have any ideas please thanks.

Kate
Posts: 401
Joined: Mon Feb 09, 2015 11:17 am

Re: "url": 'http://localhost:8080 does not work

Post by Kate » Tue Sep 15, 2020 4:12 pm

Dear user,

Please describe the following issue on our developer forum at dev.onlyoffice.org

We apologize for any inconvenience.
Best regards!

Post Reply