07-27-2019 04:14 PM
Hello,
I have a server running on localhost:3000 and Docker's containers with Alfresco on localhost:8080. In the workflow Activiti process --> ServiceTask -> Java class I am trying to get HTTP request from my server. How can i accomplish that?
When I am trying to do so, it throws an error.
It might be something about Docker because when I am trying to call "curl localhost:3000" or "curl 0.0.0.0:3000" etc. from container, it also can not connect.
07-27-2019 05:38 PM
It seems it is totally not connected with Alfresco so it can be deleted.
If anyone had the same issue: (ex. trying to setup json-server)
I changed my json-server host from localhost to my ip (ex. 172.12.0.1 or 0.0.0.0 should also work) and it is working ❤️
If anyone is on Windows/Mac, you can try also host.docker.internal.
07-27-2019 05:38 PM
It seems it is totally not connected with Alfresco so it can be deleted.
If anyone had the same issue: (ex. trying to setup json-server)
I changed my json-server host from localhost to my ip (ex. 172.12.0.1 or 0.0.0.0 should also work) and it is working ❤️
If anyone is on Windows/Mac, you can try also host.docker.internal.
Explore our Alfresco products with the links below. Use labels to filter content by product module.