SA-MP Forums Archive
Sockets wont connect what-so-ever - 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: Sockets wont connect what-so-ever (/showthread.php?tid=628286)



Sockets wont connect what-so-ever - Luis- - 08.02.2017

Hey!

So I'm trying to get sockets to work on my sever. It's already been coded and shit, so no worries there. Just when I try to connect from the SAMP server to localhost (xampp) it just will not connect. I'm using port 7778, it's been port-forwarded, still no joy.

Anyone have a solution?


Re: Sockets wont connect what-so-ever - Vince - 08.02.2017

You sure you meant to say "from", not "to"? Is there even anything running on port 7778? HTTP traffic goes through port 80 and 443 (SLL).


Re: Sockets wont connect what-so-ever - Luis- - 08.02.2017

Well, it's connecting from the SA-MP server, the PHP file is listening for any connections. I'm not 100% sure if anything is actually running on the port, I don't think there is.