HTTP does not work in Linux. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HTTP does not work in Linux. (
/showthread.php?tid=417794)
HTTP does not work in Linux. -
Calabresi - 22.02.2013
Hello guys.
I've been setting up my server with some mail functions and basically, my functions go to a file which is uploaded on another hosting server, runs it and receives usual HTTP callback. The problem happens when I upload the gamemode on my Linux server.
Everything goes fine on Windows, client successfully sends and receives the HTTP functions. But when I try things in the Linux server, somehow it returns error response code 1 (HTTP_BAD_HOST).
Are there anything special goes with Linux server when sending HTTP_GET commands? I've tried everything and couldn't find a solution. Nothing can be wrong with the mail functions with the server since I use a seperated host to upload my .php files.
As I said, the problem only happens on my Linux server. Windows just works fine with HTTP.
Thanks for the future helps.
Re: HTTP does not work in Linux. -
Vince - 22.02.2013
The HTTP (the protocol) is uniform across the internet. Your outbound firewall may be blocking the connection. Try ping.
Re: HTTP does not work in Linux. -
Calabresi - 22.02.2013
Quote:
Originally Posted by Vince
The HTTP (the protocol) is uniform across the internet. Your outbound firewall may be blocking the connection. Try ping.
|
I will try that, thanks. Does a clean install of ubuntu has chance to block those connections?