mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2064] 127.0.0.1自联测试,提示Connection closed by remote host,不知该如何解决 #1639
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1639
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EacoChen on GitHub (Nov 7, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2064
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
What operating system and processor architecture are you using (
go env)?Configures you used:
cat ./conf/frpc.inicat ./conf/frps.iniSteps to reproduce the issue:
./bin/frps -c ./conf/frps.ini./bin/frpc -c ./conf/frpc.inissh -p8232 linux1@127.0.0.1Describe the results you received:
Describe the results you expected:
*The results is from the True server test
Additional information you deem important (e.g. issue happens only occasionally):
always happen
In ssh terminal, I also tried:
curl 127.0.0.1:8232but the result is :
cilent terminal give the same log info as mentioned above.
Can you point out what caused this issue (optional)
maybe the firewall?
The client in office is use the Wired static IP, configured by IT department.
@Becods commented on GitHub (Nov 7, 2020):
经测试无发现问题
请确认是否有其他因素造成
请使用排除法多次测试
@fatedier commented on GitHub (Nov 8, 2020):
@EacoChen Try
ssh root@127.0.0.1, does it returns the same error?@EacoChen commented on GitHub (Nov 8, 2020):
Thank you for your reply the results like this:
@fatedier commented on GitHub (Nov 8, 2020):
@EacoChen Your sshd server may not started or it listen on another port rather than 22.
@EacoChen commented on GitHub (Nov 8, 2020):
@fatedier
check if port 22 occupied
lsof -i:22there are no results.
I test openssh_server
sudo systemctl status sshso I updated apt
sudo apt update && sudo apt upgrade, and install the sshdsudo apt install openssh-serverRun and check the installation
sudo systemctl status sshsshd worked.
ssh check
ssh root@127.0.0.1client check
ssh -p8232 linux1@127.0.0.1Truly frp
mobaxterm:
ssh -p8232 linux1@x.x.x.xworked! Thank you so much!