MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    SocketException: 由于目标计算机积极拒绝,无法连接。

    HTTP API和第三方SDK
    csharp http
    2
    7
    159
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rickyliyiqi last edited by rickyliyiqi

      服务器可以ping通,端口显示listening,但是在远程客户端尝试访问时还是会显示:SocketException: 由于目标计算机积极拒绝,无法连接。 [服务器ip]:8080。求大佬指教

      1 Reply Last reply Reply Quote 0
      • R
        rickyliyiqi last edited by rickyliyiqi

        fb8eccf4-2f1a-4686-88b8-9f1393a1202d-image.png
        image.png

        1 Reply Last reply Reply Quote 0
        • RainChan
          RainChan 摸鱼 last edited by

          防火墙
          ×错误
          请增添发帖内容,不能少于 5 个字符。

          R 1 Reply Last reply Reply Quote 0
          • R
            rickyliyiqi @RainChan last edited by

            @RainChan 服务器的防火墙是关闭状态,是云服务,云服务也加了安全组

            1 Reply Last reply Reply Quote 0
            • RainChan
              RainChan 摸鱼 last edited by

              需要监听0.0.0.0

              R 2 Replies Last reply Reply Quote 0
              • R
                rickyliyiqi @RainChan last edited by

                @RainChan 大致是这样的
                image.png

                1 Reply Last reply Reply Quote 0
                • R
                  rickyliyiqi @RainChan last edited by

                  @RainChan 改成0.0.0.0之后问题解决了,谢谢大佬

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact