In case of web-app, it is accessible via xxx from other apps. #982
-
Hi, I have 2 apps :
The static website calls the php server to retrieve information via a POST. I would like to avoid making the php server public and thus access the server "internally"/between my 2 apps running on caprover. In HTTP settings, it's written "In case of web-app, it is accessible via http://srv-captain-- from other apps". As such, I tried using this url in the app running the static website like this:
However, I'm getting the following error : net::ERR_NAME_NOT_RESOLVED Can someone explain to my if I'm calling the correct URL and/or if generally speaking I'm doing this correctly ? Thank you el_even |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The frontend code is running the browser, not on the server. |
Beta Was this translation helpful? Give feedback.
The frontend code is running the browser, not on the server.
srv-captain--appname
is only available from within the containers.