2012-02-08 202 views
1

我在玩SuperWebSocket(http://superwebsocket.codeplex.com),並試圖在共享主機(即端口80)下工作,因爲它們不允許其他非標準端口。這可能使它在端口80上工作嗎?當我嘗試服務器關閉連接。如何實現這一目標?80端口的superwebsocket

<socketServer> 
     <servers> 
      <server name="SuperWebSocket" 
        serviceName="SuperWebSocket" 
        ip="Any" port="80" mode="Async"> 
      </server> 
      <server name="SecureSuperWebSocket" 
        serviceName="SuperWebSocket" 
        ip="Any" port="2012" mode="Sync" security="tls"> 
       <!--Please install the certificate to your trusted certificates store, the password is 'supersocket'--> 
       <certificate filePath="localhost.pfx" 
          password="supersocket" 
          isEnabled="true"></certificate> 
      </server> 
     </servers> 
     <services> 
      <service name="SuperWebSocket" 
        type="SuperWebSocket.WebSocketServer, SuperWebSocket" /> 
     </services> 
    </socketServer> 

enter image description here

+0

嘗試端口8080! – 2012-02-13 11:06:50

回答

1

不,你不能綁定已使用的端口。

0

在您的HTML文件中使用wss:// localhost:2012/...它需要安全連接