php - Websocket port problem because already in use? -
php - Websocket port problem because already in use? -
based on expert recommendation of iana, websocket protocol default uses port 80 regular websocket connections.
how can create websocket hear port 80 when apache server listening port?
i made works when websocket using port 12345 not want open port , iana recommend port 80... not how create works port?
idea #1i have read jabber server can utilize apache redirect call. here illustration this website :
<virtualhost *:80> servername yourdomain.com documentroot /var/www adddefaultcharset utf-8 rewriteengine on rewriterule ^/http-bind/ http://jabber.yourdomain.com:5280/http-bind/ [p] </virtualhost> maybe can websocket... thought?
you don't. rule, in every os know of, 1 process, 1 port. , makes sense. if have 2 processes listening same port, 1 should handle it? you'll have expose other port on machine.
php html5 websocket
Comments
Post a Comment