PHP Api
#1

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?
Reply
#2

port 80 for HTTP and 443 for HTTPS
Reply
#3

I did that but it doesnt work, note that I have a windows server
Reply
#4

What response code and data do you get from web server?
Reply
#5

Server does not respond, but the infos are right, (ip and port)
Reply
#6

bump
Reply
#7

A socket connection in what direction? From the SA-MP server to a webserver or the other way around?
Reply
#8

Can you show we code?
Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)