OoO
1
共4台设备,均已接入Tailscale,分别为本地Win11(#1)、iPhone(#2)、Android(#3)、远端WinSever2016(#4)
LocalSend均为最新版,所有设备端口号改为61666
目前 #1 #2 #3 之间工作良好,互传没问题
然而#1给#4传不过去,表现为#1上不能发现#4,手动输地址也不行,报错:
[RhttpTimeoutException] Request timed out. URL: https://100.200.100.4:61666/api/localsend/v1/info
但#2和#3可以给#4传文件,同时#4可以给#1传文件
#4上防火墙已允许61666端口入站(虽然走Tailscale不用单开规则)且使用Tailscale的其他服务正常
CCR
2
感觉你这应该去issue或者discussion问(
根据这个报错我觉得你可以手动尝试一下 curl.exe -v -k https://100.200.100.4:61666 看看到底能不能访问,以及在 #4 上 curl.exe -v -k https://127.0.0.1:61666 看一下 LocalSend 到底有没有在监听 61666 端口。
LocalSend 的发现协议是基于 UDP 多播的,理应没办法通过 Tailscale 发现。
1 个赞
OoO
6
curl -v -k https://100.200.100.4:61666
* Trying 100.200.100.4:61666...
* schannel: disabled automatic use of client certificate
* schannel: using IP address, SNI is not supported by OS.
* ALPN: curl offers http/1.1
* ALPN: server did not agree on a protocol. Uses default.
* Connected to 100.200.100.4 (100.200.100.4) port 61666
* using HTTP/1.x
> GET / HTTP/1.1
> Host: 100.200.100.4:61666
> User-Agent: curl/8.11.1
> Accept: */*
>
* Request completely sent off
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
< HTTP/1.1 403 Forbidden
< content-type: text/html; charset=utf-8
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< transfer-encoding: chunked
< x-content-type-options: nosniff
<
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>LocalSend</title>
</head>
<body>
<h1>403 Forbidden</h1>
<p>You don't have permission to access this resource.</p>
</body>
</html>
* Connection #0 to host 100.200.100.4 left intact
这是能访问吧?
但是#2和#3可以发现啊,而且我在#1上直接输地址也不能发文件过去