全球主机交流论坛

标题: Claw 下的X-UI xray 状态: 一直是error [打印本页]

作者: viccy520    时间: 2024-10-24 15:50
标题: Claw 下的X-UI xray 状态: 一直是error
本帖最后由 viccy520 于 2024-10-24 16:26 编辑

DD了  Ubuntu 20.04.6也是一样。头大。不知道为啥


Failed to start: app/proxyman/inbound: failed to listen TCP on 443 > transport/internet: failed to listen on address: xx.xx.xx.xx:443 > transport/internet/tcp: failed to listen TCP on xx.xx.xx.xx:443 > listen tcp xx.xx.xx.xx:443: bind: cannot assign requested address
作者: Sam_Edward    时间: 2024-10-24 15:51
自己tcping下看看咯,元老

再看看服务器日志,到底收没收到请求
作者: ohh    时间: 2024-10-24 15:52
50解决
作者: 小猪佩奇    时间: 2024-10-24 15:53
1.xray没安装成功 2.端口占用  配置文件一般不会错的
作者: viccy520    时间: 2024-10-24 15:54
对于LINUX 只会复制代码 其他一概不会。我又DD了个别的先试试。
作者: xzllll.com    时间: 2024-10-24 15:54
多看看文档

跟系统无关
作者: MondoViva    时间: 2024-10-24 15:59
元老水分有点大了
作者: viccy520    时间: 2024-10-24 16:03
MondoViva 发表于 2024-10-24 15:59
元老水分有点大了

哈哈,的确
作者: 陪空气旅行    时间: 2024-10-24 16:20
看看 xray日志
作者: viccy520    时间: 2024-10-24 16:27
陪空气旅行 发表于 2024-10-24 16:20
看看 xray日志

Failed to start: app/proxyman/inbound: failed to listen TCP on 443 > transport/internet: failed to listen on address: xx.xx.xx.xx:443 > transport/internet/tcp: failed to listen TCP on xx.xx.xx.xx:443 > listen tcp xx.xx.xx.xx:443: bind: cannot assign requested address

日志报错。是不是 官方强制关闭了
作者: 陪空气旅行    时间: 2024-10-24 16:30
viccy520 发表于 2024-10-24 16:27
Failed to start: app/proxyman/inbound: failed to listen TCP on 443 > transport/internet: failed to ...

端口占用了吧
作者: viccy520    时间: 2024-10-24 18:37
陪空气旅行 发表于 2024-10-24 16:30
端口占用了吧

不是我换了好几个都不行
作者: viccy520    时间: 2024-10-24 18:45
陪空气旅行 发表于 2024-10-24 16:30
端口占用了吧

看了一圈说是,主机商后台会检测,检测到xray 就给关闭
作者: MondoViva    时间: 2024-10-24 18:50
viccy520 发表于 2024-10-24 18:45
看了一圈说是,主机商后台会检测,检测到xray 就给关闭

自己测试下服务器上有没有收到数据啊,听说什么的都不如你自己看看实际到底是什么情况来的快,
想看xray有没有关闭直接
sudo systemctl status xray
其他的有没有收到要看日志了;

作者: zby    时间: 2024-10-24 18:53
trojan表示速度起飞
作者: 陪空气旅行    时间: 2024-10-24 19:34
viccy520 发表于 2024-10-24 18:45
看了一圈说是,主机商后台会检测,检测到xray 就给关闭

我claw搭的没问题啊
作者: hins    时间: 2024-10-24 19:42
本帖最后由 hins 于 2024-10-24 19:44 编辑

谷歌搜索一下
作者: viccy520    时间: 2024-10-24 19:43
MondoViva 发表于 2024-10-24 18:50
自己测试下服务器上有没有收到数据啊,听说什么的都不如你自己看看实际到底是什么情况来的快,
想看xray ...

Unit xray.service could not be found.   返回这个

作者: viccy520    时间: 2024-10-24 19:44
hins 发表于 2024-10-24 19:42
好像是要改个东西 谷歌搜索一下 要把一个监听ip改成0.0.0.0 还是啥来着

改了,几秒钟就恢复了

作者: Chensao    时间: 2024-10-24 20:03
我一直都是直接去改配置文件里面的127.0.0.1改成0.0.0.0
  1. {
  2.   "api": {
  3.     "services": [
  4.       "HandlerService",
  5.       "LoggerService",
  6.       "StatsService"
  7.     ],
  8.     "tag": "api"
  9.   },
  10.   "inbounds": [
  11.     {
  12.       "listen": "127.0.0.1",
  13.       "port": 62789,
  14.       "protocol": "dokodemo-door",
  15.       "settings": {
  16.         "address": "127.0.0.1"
  17.       },
  18.       "tag": "api"
  19.     }
  20.   ],
  21.   "outbounds": [
  22.     {
  23.       "protocol": "freedom",
  24.       "settings": {}
  25.     },
  26.     {
  27.       "protocol": "blackhole",
  28.       "settings": {},
  29.       "tag": "blocked"
  30.     }
  31.   ],
  32.   "policy": {
  33.     "system": {
  34.       "statsInboundDownlink": true,
  35.       "statsInboundUplink": true
  36.     }
  37.   },
  38.   "routing": {
  39.     "rules": [
  40.       {
  41.         "inboundTag": [
  42.           "api"
  43.         ],
  44.         "outboundTag": "api",
  45.         "type": "field"
  46.       },
  47.       {
  48.         "ip": [
  49.           "geoip:private"
  50.         ],
  51.         "outboundTag": "blocked",
  52.         "type": "field"
  53.       },
  54.       {
  55.         "outboundTag": "blocked",
  56.         "protocol": [
  57.           "bittorrent"
  58.         ],
  59.         "type": "field"
  60.       }
  61.     ]
  62.   },
  63.   "stats": {}
  64. }
复制代码

改成
  1. {
  2.   "api": {
  3.     "services": [
  4.       "HandlerService",
  5.       "LoggerService",
  6.       "StatsService"
  7.     ],
  8.     "tag": "api"
  9.   },
  10.   "inbounds": [
  11.     {
  12.       "listen": "0.0.0.0",
  13.       "port": 62789,
  14.       "protocol": "dokodemo-door",
  15.       "settings": {
  16.         "address": "127.0.0.1"
  17.       },
  18.       "tag": "api"
  19.     }
  20.   ],
  21.   "outbounds": [
  22.     {
  23.       "protocol": "freedom",
  24.       "settings": {}
  25.     },
  26.     {
  27.       "protocol": "blackhole",
  28.       "settings": {},
  29.       "tag": "blocked"
  30.     }
  31.   ],
  32.   "policy": {
  33.     "system": {
  34.       "statsInboundDownlink": true,
  35.       "statsInboundUplink": true
  36.     }
  37.   },
  38.   "routing": {
  39.     "rules": [
  40.       {
  41.         "inboundTag": [
  42.           "api"
  43.         ],
  44.         "outboundTag": "api",
  45.         "type": "field"
  46.       },
  47.       {
  48.         "ip": [
  49.           "geoip:private"
  50.         ],
  51.         "outboundTag": "blocked",
  52.         "type": "field"
  53.       },
  54.       {
  55.         "outboundTag": "blocked",
  56.         "protocol": [
  57.           "bittorrent"
  58.         ],
  59.         "type": "field"
  60.       }
  61.     ]
  62.   },
  63.   "stats": {}
  64. }
复制代码





欢迎光临 全球主机交流论坛 (https://loc.888543.xyz/) Powered by Discuz! X3.4