Firefox Websocket security issue

后端 未结 6 864
借酒劲吻你
借酒劲吻你 2020-12-02 15:36

We have a websocket server on port 8080 setup on a Linode box. Chrome and Opera work just fine. Firefox however complains that the operation is insecure.

\"The opera

6条回答
  •  再見小時候
    2020-12-02 15:48

    Beside secure ssl context and cross-origin policies, assigning some port can trigger the error as well.

    What are valid http ports for Firefox? I don't know precisely, but have to be between 1500 and 64000, or the console will display:

    SecurityError: The operation is insecure.
    

    And http links will say:

    This address is restricted
    
    This address uses a network port which is normally used for purposes other than Web browsing.
    Firefox has canceled the request for your protection.
    

提交回复
热议问题