I deploy my laravel app to digital ocean droplet. everything work fine. when I send post request from my server to my 3rd party end point 196.188.120.3:38443/…, respond me with timeout error. here is what did so far
My suspension on this problem is
sudo ufw allow out on eth0 to any port 38443
i add this rule(noting change),iptables -A INPUT -p tcp --dport 38443 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
but still failedany idea please i have this issue for week, I am stressed thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Heya,
You can contact the third-party and request to whitelist the droplet’s and other IP address from which you’ll connect.
Also allow outgoing traffic on port 38443. If you’re running multiple firewalls then you need to inspect each set of rules for the outgoing connections.
Regards
Heya,
I can confirm as the others posted that I can’t connect to 196.188.120.3 on pot 38443. This means the provider of that API is blocking the requests.
You can contact them and give them your IP address to whitelist. That way you would be able to connect to the said IP.
when I contact 3rd party they request Ip address and port to whitelist, the problem is when I check all my outbounding requests use different port no, what should I do? Its possible to force all my post request with static port or should I give them only my droplet Ip address?