瀏覽代碼

20240911_sun

15143018065 1 月之前
父節點
當前提交
ac9a7e1fae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/utils/SocketServer.java

+ 1 - 1
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/utils/SocketServer.java

@@ -41,7 +41,7 @@ public class SocketServer {
             serverSocket = new ServerSocket();
             //启用端口重用
             serverSocket.setReuseAddress(true);
-            serverSocket.bind(new InetSocketAddress(8098));
+            serverSocket.bind(new InetSocketAddress("121.36.73.159", 8098));
         }catch(Exception e){
             e.printStackTrace();
         }