hiddify / hiddify-next

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
15.32k stars 1.41k forks source link

Unexpected error #1052

Open panqingyong opened 1 month ago

panqingyong commented 1 month ago

Search first

What Happened?

Unexpected error listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

Minimal Reproducible Example (MRE)

tap to connect

Expected Behavior

No response

Version

v1.5.2

Platform/OS

Windows

Additional Context

error

Application Config Options

{
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"gGwytJBdh2CNj1iRT6Cc2YPA4BwEUXZPNIspVjK1okM=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:892f:ba2a:5e20:fd39:85d9\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"qDAM\"}",
    "license-key": "281XaYV0-7n5wmp81-58dz2q6M",
    "account-id": "a60f9184-551c-4fc0-94cc-9d3a3c3a4f7c",
    "access-token": "bc7b472a-a54c-4425-8edc-cd5751658dd0",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"EKccvtJfNff1IeljwsAaEKOpAKCGsPcWClDlHcUYwEE=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:8fa9:bf42:433c:f7d2:8693\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"klu2\"}",
    "license-key": "",
    "account-id": "eb0871b7-7422-48c1-b8e9-0e5066d719f7",
    "access-token": "f8c70014-6565-434b-a60a-f4b8c14a96fa",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}

Relevant log output

04:03:58.622173 - [D] bootstrap: [logs repository] initialized in 1ms
04:03:58.622173 - [I] bootstrap: initializing [logger controller]
04:03:58.622173 - [I] bootstrap: hiddify v1.5.2 (10502) [prod]
general release
windows ["Windows 10 Enterprise LTSC 2021" 10.0 (Build 19044)]
04:03:58.622173 - [I] bootstrap: initializing [profile repository]
04:03:58.623174 - [I] bootstrap: initializing [active profile]
04:03:58.627174 - [I] bootstrap: initializing [deep link service]
04:03:58.628174 - [I] bootstrap: initializing [sing-box]
04:03:58.628174 - [I] bootstrap: initializing [system tray]
04:03:58.718905 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:03:58.721890 - [I] bootstrap: bootstrap took [230ms]
04:04:00.777476 - [I] ConnectionRepositoryImpl: config options: {
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"gGwytJBdh2CNj1iRT6Cc2YPA4BwEUXZPNIspVjK1okM=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:892f:ba2a:5e20:fd39:85d9\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"qDAM\"}",
    "license-key": "281XaYV0-7n5wmp81-58dz2q6M",
    "account-id": "a60f9184-551c-4fc0-94cc-9d3a3c3a4f7c",
    "access-token": "bc7b472a-a54c-4425-8edc-cd5751658dd0",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"EKccvtJfNff1IeljwsAaEKOpAKCGsPcWClDlHcUYwEE=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:8fa9:bf42:433c:f7d2:8693\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"klu2\"}",
    "license-key": "",
    "account-id": "eb0871b7-7422-48c1-b8e9-0e5066d719f7",
    "access-token": "f8c70014-6565-434b-a60a-f4b8c14a96fa",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}
Memory Limit: false
04:04:00.817907 - [W] ConnectionNotifier: error connecting
ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:04:00.817907 - [W] ConnectionNotifier: ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:04:00.823928 - [I] ConnectionNotifier: connection status: CONNECTING
04:04:00.823928 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:04:00.823928 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:04:00.823928 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:04:04.303227 - [I] ConnectionRepositoryImpl: config options: {
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"gGwytJBdh2CNj1iRT6Cc2YPA4BwEUXZPNIspVjK1okM=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:892f:ba2a:5e20:fd39:85d9\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"qDAM\"}",
    "license-key": "281XaYV0-7n5wmp81-58dz2q6M",
    "account-id": "a60f9184-551c-4fc0-94cc-9d3a3c3a4f7c",
    "access-token": "bc7b472a-a54c-4425-8edc-cd5751658dd0",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"EKccvtJfNff1IeljwsAaEKOpAKCGsPcWClDlHcUYwEE=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:8fa9:bf42:433c:f7d2:8693\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"klu2\"}",
    "license-key": "",
    "account-id": "eb0871b7-7422-48c1-b8e9-0e5066d719f7",
    "access-token": "f8c70014-6565-434b-a60a-f4b8c14a96fa",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}
Memory Limit: false
04:04:04.309280 - [W] ConnectionNotifier: error connecting
ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:04:04.309280 - [W] ConnectionNotifier: ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:04:04.310048 - [I] ConnectionNotifier: connection status: CONNECTING
04:04:04.313430 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:04:04.313430 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:04:04.313430 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:04:10.185836 - [I] AppUpdateNotifier: already using latest version[1.5.2], remote: [1.5.2]
04:04:33.743067 - [I] ConnectionRepositoryImpl: config options: {
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"gGwytJBdh2CNj1iRT6Cc2YPA4BwEUXZPNIspVjK1okM=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:892f:ba2a:5e20:fd39:85d9\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"qDAM\"}",
    "license-key": "281XaYV0-7n5wmp81-58dz2q6M",
    "account-id": "a60f9184-551c-4fc0-94cc-9d3a3c3a4f7c",
    "access-token": "bc7b472a-a54c-4425-8edc-cd5751658dd0",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"EKccvtJfNff1IeljwsAaEKOpAKCGsPcWClDlHcUYwEE=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:8fa9:bf42:433c:f7d2:8693\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"klu2\"}",
    "license-key": "",
    "account-id": "eb0871b7-7422-48c1-b8e9-0e5066d719f7",
    "access-token": "f8c70014-6565-434b-a60a-f4b8c14a96fa",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}
Memory Limit: false
04:04:33.762664 - [W] ConnectionNotifier: error connecting
ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:04:33.762664 - [W] ConnectionNotifier: ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:04:33.762664 - [I] ConnectionNotifier: connection status: CONNECTING
04:04:33.765666 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:04:33.765666 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:04:33.765666 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:09:03.902892 - [I] ConnectionRepositoryImpl: config options: {
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"gGwytJBdh2CNj1iRT6Cc2YPA4BwEUXZPNIspVjK1okM=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:892f:ba2a:5e20:fd39:85d9\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"qDAM\"}",
    "license-key": "281XaYV0-7n5wmp81-58dz2q6M",
    "account-id": "a60f9184-551c-4fc0-94cc-9d3a3c3a4f7c",
    "access-token": "bc7b472a-a54c-4425-8edc-cd5751658dd0",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"EKccvtJfNff1IeljwsAaEKOpAKCGsPcWClDlHcUYwEE=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:8fa9:bf42:433c:f7d2:8693\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"klu2\"}",
    "license-key": "",
    "account-id": "eb0871b7-7422-48c1-b8e9-0e5066d719f7",
    "access-token": "f8c70014-6565-434b-a60a-f4b8c14a96fa",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}
Memory Limit: false
04:09:03.920763 - [W] ConnectionNotifier: error connecting
ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:09:03.920763 - [W] ConnectionNotifier: ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:09:03.922033 - [I] ConnectionNotifier: connection status: CONNECTING
04:09:03.924957 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:09:03.924957 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:09:03.924957 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:09:49.700241 - [I] ConnectionRepositoryImpl: config options: {
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"gGwytJBdh2CNj1iRT6Cc2YPA4BwEUXZPNIspVjK1okM=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:892f:ba2a:5e20:fd39:85d9\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"qDAM\"}",
    "license-key": "281XaYV0-7n5wmp81-58dz2q6M",
    "account-id": "a60f9184-551c-4fc0-94cc-9d3a3c3a4f7c",
    "access-token": "bc7b472a-a54c-4425-8edc-cd5751658dd0",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"EKccvtJfNff1IeljwsAaEKOpAKCGsPcWClDlHcUYwEE=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:8fa9:bf42:433c:f7d2:8693\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"klu2\"}",
    "license-key": "",
    "account-id": "eb0871b7-7422-48c1-b8e9-0e5066d719f7",
    "access-token": "f8c70014-6565-434b-a60a-f4b8c14a96fa",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}
Memory Limit: false
04:09:49.719393 - [W] ConnectionNotifier: error connecting
ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:09:49.719393 - [W] ConnectionNotifier: ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:09:49.719940 - [I] ConnectionNotifier: connection status: CONNECTING
04:09:49.724850 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:09:49.724850 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:09:49.724850 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:11:17.519963 - [I] ConnectionRepositoryImpl: config options: {
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"gGwytJBdh2CNj1iRT6Cc2YPA4BwEUXZPNIspVjK1okM=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:892f:ba2a:5e20:fd39:85d9\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"qDAM\"}",
    "license-key": "281XaYV0-7n5wmp81-58dz2q6M",
    "account-id": "a60f9184-551c-4fc0-94cc-9d3a3c3a4f7c",
    "access-token": "bc7b472a-a54c-4425-8edc-cd5751658dd0",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"EKccvtJfNff1IeljwsAaEKOpAKCGsPcWClDlHcUYwEE=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:8fa9:bf42:433c:f7d2:8693\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"klu2\"}",
    "license-key": "",
    "account-id": "eb0871b7-7422-48c1-b8e9-0e5066d719f7",
    "access-token": "f8c70014-6565-434b-a60a-f4b8c14a96fa",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}
Memory Limit: false
04:11:17.672119 - [W] ConnectionNotifier: error connecting
ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:11:17.672119 - [W] ConnectionNotifier: ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:11:17.673306 - [I] ConnectionNotifier: connection status: CONNECTING
04:11:17.675416 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:11:17.675416 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:11:17.675416 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:12:58.266719 - [I] ConnectionRepositoryImpl: config options: {
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"gGwytJBdh2CNj1iRT6Cc2YPA4BwEUXZPNIspVjK1okM=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:892f:ba2a:5e20:fd39:85d9\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"qDAM\"}",
    "license-key": "281XaYV0-7n5wmp81-58dz2q6M",
    "account-id": "a60f9184-551c-4fc0-94cc-9d3a3c3a4f7c",
    "access-token": "bc7b472a-a54c-4425-8edc-cd5751658dd0",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "{\"private-key\":\"EKccvtJfNff1IeljwsAaEKOpAKCGsPcWClDlHcUYwEE=\",\"local-address-ipv4\":\"172.16.0.2\",\"local-address-ipv6\":\"2606:4700:110:8fa9:bf42:433c:f7d2:8693\",\"peer-public-key\":\"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=\",\"client-id\":\"klu2\"}",
    "license-key": "",
    "account-id": "eb0871b7-7422-48c1-b8e9-0e5066d719f7",
    "access-token": "f8c70014-6565-434b-a60a-f4b8c14a96fa",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}
Memory Limit: false
04:12:58.283578 - [W] ConnectionNotifier: error connecting
ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:12:58.283578 - [W] ConnectionNotifier: ConnectionFailure.unexpected(error: listen: listen tcp 127.0.0.1:8964: bind: An attempt was made to access a socket in a way forbidden by its access permissions., stackTrace: null)
04:12:58.284702 - [I] ConnectionNotifier: connection status: CONNECTING
04:12:58.288360 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:12:58.288360 - [I] ConnectionNotifier: connection status: DISCONNECTED
04:12:58.288360 - [I] ConnectionNotifier: connection status: DISCONNECTED

Are you willing to submit a PR? If you know how to fix the bug.

Abolfazl74 commented 1 month ago

Execute the following command in CMD running as administrator:

netstat -anob

Find the process that is listening on port 8964. Use its PID to identify the actual process in your Task Manager or by using the tasklist command. Try to close the program, and you should be able to run the proxy again.

Note: If you have an antivirus program like Bitdefender on your PC, it is likely that this service is using the mentioned port.

johnshen416 commented 1 month ago

can not fix,please help

Abolfazl74 commented 1 month ago

can not fix,please help

You need to provide some details like mentioned in my last reply

Domain commented 1 month ago

I have the same problem. And no process is listening on port 8964. `C:\Users\Domain>netstat -anob | findstr 8964

C:\Users\Domain>`