Question

Receiving api calls into droplet

Posted October 26, 2018 650 views
APIUbuntu 16.04

I have a docker container/image running, on my local machine, this works fine, when starting it up on my droplet I don’t receive the callback I normally receive. It’s a Twitch callback, it goes in two parts, I make a call, which is logging out to say I made the call to them successfully, but I don’t receive the callback from Twitch into my container.

Twitch call me back at an address like this: http://142.93.47.190/api/twitch/callback
The docker-compose file has a port mapping of 4001:4001 (the app starts up on 4001)

but that doesn’t seem to come through, I tried temporarily disabling my firewall as well, no luck.

Any ideas for how to receive calls into the droplet, are there any specific setup needed before i can do this?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi,

It looks like you need to start up the container on port 80:4001.

Either that or change the callback address to http://142.93.47.190:4001/api/twitch/callback.

Submit an Answer