xenophobia Posted August 17, 2008 Share Posted August 17, 2008 Im creating a xmlsocket server using PHP5. The client are connect to the server using flash's object called: xmlsocket. My http server are using port 80, so I was wondering how am I going to make the xmlsocket server to listen on the same port(80) so that I can bypass the firewall rules on opening other port number. I was tried to put my xmlsocket server to listen on port80, while I type in this: "http://localhost/" The page keep loading.... And I check on my xmlsocket's server log, I get a client connected... It seems like the browser's are acted as an client that connect to my xmlsocket server but not the http server. Do you guys know what I mean? Any idea?? I knew that I found a tutorial on this in google, but I can't found it back. Thanks in advanced. Link to comment https://forums.phpfreaks.com/topic/120070-php-xmlsocket-server-on-port-80/ Share on other sites More sharing options...
trq Posted August 17, 2008 Share Posted August 17, 2008 You cannot run two services on the same port at the same time. Link to comment https://forums.phpfreaks.com/topic/120070-php-xmlsocket-server-on-port-80/#findComment-618568 Share on other sites More sharing options...
xenophobia Posted August 18, 2008 Author Share Posted August 18, 2008 Really?? Emm.... How bout this: service.mydomain.com:80 Whereby service.mydomain is a sub-domain and it will connect to my socket server. Possible?? Im totally new in networking. Link to comment https://forums.phpfreaks.com/topic/120070-php-xmlsocket-server-on-port-80/#findComment-619058 Share on other sites More sharing options...
trq Posted August 18, 2008 Share Posted August 18, 2008 Sorry, its not clear what you want to do there. Link to comment https://forums.phpfreaks.com/topic/120070-php-xmlsocket-server-on-port-80/#findComment-619059 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.