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.
Solved! Go to Solution.
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 <3
If anyone is on Windows/Mac, you can try also host.docker.internal.
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 <3
If anyone is on Windows/Mac, you can try also host.docker.internal.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.