Posts: 1,297
Threads: 17
Joined: Apr 2011
Hello, I am trying to use sockets to do some stuff in my web, but it doesnt allow me to connect to the server, I guess the server is blocking my connection but the issue is that I dont know which port I should open to allow the connections, can you please help me on this?
Posts: 76
Threads: 1
Joined: Sep 2016
Reputation:
0
port 80 for HTTP and 443 for HTTPS
Posts: 1,297
Threads: 17
Joined: Apr 2011
I did that but it doesnt work, note that I have a windows server
Posts: 513
Threads: 4
Joined: Jun 2015
Reputation:
0
What response code and data do you get from web server?
Posts: 1,297
Threads: 17
Joined: Apr 2011
Server does not respond, but the infos are right, (ip and port)
Posts: 1,297
Threads: 17
Joined: Apr 2011
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
A socket connection in what direction? From the SA-MP server to a webserver or the other way around?
Posts: 283
Threads: 67
Joined: Jun 2015
Posts: 1,297
Threads: 17
Joined: Apr 2011
I got a windows server 2012 r2 server, my samp server is installed in the windows server, and my webhost is in a different host, when I try to get infos from my server and show them in my website, it keeps denieing the connection.