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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
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?
Hi there,
Indeed, Cloudflare and Nginx should not be related here as you are making outbound calls to that API.
I just tried connecting to
telnet 196.188.120.3 38443
and it times out for me as well. So it sounds like that the third party provider has some firewall in place blocking all incoming traffic on that port.The third party provider needs to allow your Droplet’s IP address to access port
38443
as this is the port that you are connecting to.Port 443 is your HTTPS port for incoming connections.
Let me know how it goes once they allow your Droplet’s IP address for that 38443 port!
- Bobby