JoyQi - 纯手工自制的内网穿透瑞士军刀 Socket Pipe 的评论 https://joyqi.com/javascript/socket-pipe.html zh-CN 今年撸的内部工具比较多,其中比较有用的我认为Socket Pipe绝对算一个。如果你有如下需求需要做端口转发(udp or tcp)又懒得去配置复杂的iptables规则甚至还要用到nginx这... Sun, 08 Mar 2020 00:04:04 +0800 Sun, 08 Mar 2020 00:04:04 +0800 hello https://joyqi.com/javascript/socket-pipe.html#comment-24420 https://joyqi.com/javascript/socket-pipe.html#comment-24420 Sun, 08 Mar 2020 00:04:04 +0800 hello 你好,感谢提供这个工具,但是在使用的过程中有问题
1.数据的传输会有以下错误
Error: read ECONNRESET

at TCP.onStreamRead (internal/stream_base_commons.js:205:27) {

errno: 'ECONNRESET',
code: 'ECONNRESET',
syscall: 'read'
}
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed

at doWrite (_stream_writable.js:437:19)
at writeOrBuffer (_stream_writable.js:425:5)
at Socket.Writable.write (_stream_writable.js:316:11)
at Timeout._onTimeout (C:\Users\Administrator\AppData\Roaming\npm\node_modules\socket-pipe\build\tclient.js:35:39)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7) {

code: 'ERR_STREAM_DESTROYED'
}
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed

at doWrite (_stream_writable.js:437:19)
at writeOrBuffer (_stream_writable.js:425:5)
at Socket.Writable.write (_stream_writable.js:316:11)
at Timeout._onTimeout (C:\Users\Administrator\AppData\Roaming\npm\node_modules\socket-pipe\build\tclient.js:35:39)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7) {

code: 'ERR_STREAM_DESTROYED'
}
Error: read ECONNRESET

at TCP.onStreamRead (internal/stream_base_commons.js:205:27) {

errno: 'ECONNRESET',
code: 'ECONNRESET',
syscall: 'read'
}

2多连几次后不能再连接了,只能重新输入命令运行才行

谢谢

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24420#comments
openg https://joyqi.com/javascript/socket-pipe.html#comment-24375 https://joyqi.com/javascript/socket-pipe.html#comment-24375 Wed, 20 Mar 2019 11:38:57 +0800 openg 云服务器里是用的内网ip,外网无法配置生效,本地访问的云服务器外网ip,这样不行吧?

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24375#comments
openg https://joyqi.com/javascript/socket-pipe.html#comment-24374 https://joyqi.com/javascript/socket-pipe.html#comment-24374 Wed, 20 Mar 2019 11:37:31 +0800 openg 请问云服务器80端口被nginx占用的话怎么处理啊,换成88的话用域名:88能进来,但是本地没反应,只提示NotFound

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24374#comments
ljl https://joyqi.com/javascript/socket-pipe.html#comment-24256 https://joyqi.com/javascript/socket-pipe.html#comment-24256 Thu, 07 Dec 2017 09:17:16 +0800 ljl 和SSH端口转发比较怎么样?

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24256#comments
joyqi https://joyqi.com/javascript/socket-pipe.html#comment-24228 https://joyqi.com/javascript/socket-pipe.html#comment-24228 Wed, 01 Nov 2017 18:19:47 +0800 joyqi 按你给出的信息,-l 监听的本地ip应该是192.168.0.3

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24228#comments
lsn https://joyqi.com/javascript/socket-pipe.html#comment-24227 https://joyqi.com/javascript/socket-pipe.html#comment-24227 Tue, 31 Oct 2017 18:41:20 +0800 lsn 监听命令:socket-pipe -l ip@10080 -r ip@80 -t hserver

ifconfig信息:
[root@jdu4e00u53f7 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450

    inet 192.168.0.3  netmask 255.255.240.0  broadcast 192.168.15.255
    inet6 fe80::f816:3eff:fe83:ed22  prefixlen 64  scopeid 0x20<link>
    ether fa:16:3e:83:ed:22  txqueuelen 1000  (Ethernet)
    RX packets 29388  bytes 31010099 (29.5 MiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 16401  bytes 1769838 (1.6 MiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536

    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 1  (Local Loopback)
    RX packets 2  bytes 276 (276.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 2  bytes 276 (276.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@jdu4e00u53f7 ~]#

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24227#comments
joyqi https://joyqi.com/javascript/socket-pipe.html#comment-24226 https://joyqi.com/javascript/socket-pipe.html#comment-24226 Tue, 31 Oct 2017 18:26:54 +0800 joyqi 你用ifconfig看看ip地址,顺别贴一下你的命令是什么

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24226#comments
lsn https://joyqi.com/javascript/socket-pipe.html#comment-24224 https://joyqi.com/javascript/socket-pipe.html#comment-24224 Tue, 31 Oct 2017 16:24:06 +0800 lsn 在vultr中的centos是可以代理的

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24224#comments
lsn https://joyqi.com/javascript/socket-pipe.html#comment-24223 https://joyqi.com/javascript/socket-pipe.html#comment-24223 Tue, 31 Oct 2017 16:23:04 +0800 lsn 阿里云centos服务器无法打开监听: Error: listen EADDRNOTAVAIL xxx.xxx.xxx.xxx:10080

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24223#comments
joyqi https://joyqi.com/javascript/socket-pipe.html#comment-24187 https://joyqi.com/javascript/socket-pipe.html#comment-24187 Thu, 26 Oct 2017 23:41:26 +0800 joyqi 用nohup即可

]]>
https://joyqi.com/javascript/socket-pipe.html#comment-24187#comments