[GH-ISSUE #2083] Termux,always use ipv6 resolve hostname #1658

Closed
opened 2026-05-05 13:03:37 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @thetrashyNoob27 on GitHub (Nov 19, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2083

[REQUIRED] hat version of frp are you using

Version:0.34.1

[REQUIRED] What operating system and processor architecture are you using
OS:Linux
CPU architecture: arm64

[REQUIRED] description of errors
when server_addr use url,its seems trying to resolve through ipv6 .
when server_addr use ipv4 address,it will work.
confile

[common]
server_addr = xxxx.xicp.io# failed:*******.xicp.io on [::1]:53
#server_addr=219.xxx.xxx.75#work fine.
server_port = 7000
server_udp_port=7001
authenticate_heartbeats = true
authenticate_new_work_conns = true
authentication_method = token
token=***********************************

log file

[W] [service.go:102] login to server failed: dial tcp: lookup *******.xicp.io on [::1]:53: read udp [::1]:42108->[::1]:53: read: connection refused
dial tcp: lookup *****.xicp.io on [::1]:53: read udp [::1]:39775->[::1]:53: read: connection refused

Steps to reproduce the issue
1.
2.
3.

Supplementary information

Can you guess what caused this issue

Checklist:

  • [] I included all information required in the sections above
  • [] I made sure there are no duplicates of this report (Use Search)
Originally created by @thetrashyNoob27 on GitHub (Nov 19, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/2083 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> <!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> <!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> **[REQUIRED] hat version of frp are you using** <!-- Use ./frpc -v or ./frps -v --> Version:0.34.1 **[REQUIRED] What operating system and processor architecture are you using** OS:Linux CPU architecture: arm64 **[REQUIRED] description of errors** when server_addr use url,its seems trying to resolve through ipv6 . when server_addr use ipv4 address,it will work. **confile** <!-- Please pay attention to hiding the token, server_addr and other privacy information --> [common] server_addr = xxxx.xicp.io# failed:*******.xicp.io on [::1]:53 #server_addr=219.xxx.xxx.75#work fine. server_port = 7000 server_udp_port=7001 authenticate_heartbeats = true authenticate_new_work_conns = true authentication_method = token token=*********************************** **log file** <!-- If the file is too large, use Pastebin, for example https://pastebin.ubuntu.com/ --> [W] [service.go:102] login to server failed: dial tcp: lookup *******.xicp.io on [::1]:53: read udp [::1]:42108->[::1]:53: read: connection refused dial tcp: lookup *****.xicp.io on [::1]:53: read udp [::1]:39775->[::1]:53: read: connection refused **Steps to reproduce the issue** 1. 2. 3. **Supplementary information** **Can you guess what caused this issue** **Checklist**: <!--- Make sure you've completed the following steps (put an "X" between of brackets): x--> - [] I included all information required in the sections above - [] I made sure there are no duplicates of this report [(Use Search)](https://github.com/fatedier/frp/issues?q=is%3Aissue)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1658
No description provided.