I cannot access a certain website in my Linux Server.
# curl https://pgws.bpm.bankmellat.ir/pgwchannel/services/pgw?WSDL
curl: (7) couldn't connect to host
It's accessible from anywhere else but my server. I disabled ConfigServer Firewall but the problem still persist. I have no idea how I can investigate the issue and realize why this page is not accessible in my server?
I would appreciate any comment.
It's possible that server has blocked you on their side. Only thing you can do in that case is contact the administrator for that system. I can't access it from my system, so it's not just your system. May be restricted to certain networks/hosts.
[edit]
The error
means that the DNS is working fine, but the TCP connection failed. This is a networking issue at TCP level. Check the firewall and may be your MTU. If you have a bad firewall that filters all ICMP, then you might have problem if there is a lower MTU on the path that is smaller that the one from the local machine.
To disable certificate checking use: