akeneo / magento2-connector-community

Akeneo Connector for Magento 2
Open Software License 3.0
85 stars 89 forks source link

cURL error 7: Failed to connect to 127.0.0.1 port 8080 #184

Open harishmani09 opened 4 years ago

harishmani09 commented 4 years ago

Environment: Magento 2.3.4 Akeneo PIM 4 CE installed thorugh Docker Mangento2-connector-community

Hi! I installed akeneo community edition PIM using docker in a Mac and i access the pim at URL 'http://localhost:8080/user/login'. I generated my magento connections credential and when i enter the credentials in the magento Akeneo API configuration i get the following error;

cURL error 7: Failed to connect to 127.0.0.1 port 8080: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) My magento website is not connecting with akeneo pim installed in the localhost . I understand i am not using the right akeneo base url ? I also tried some other urls like; http://demo.akeneo.com http://127.0.0.1:8080 http://192.168.65.0/24 (my docker subnet) etc

but i fail to connect. Can someone tell what is my akeneo base url? Any help in solving the issue will be much appreciated

thanks Harish

Screenshot 2020-04-12 at 5 50 05 PM
unixversal commented 4 years ago

@harishmani09 not sure about the spefics of the docker container but baseurl should be working via ure second option http://127.0.0.1:8080/ In case you have SSL activated on a normal setup the base URL that also works would be https://yourdomain.tld:443/