|
|
楼主 |
发表于 2024-12-9 15:09:57
|
显示全部楼层
curl --interface eth0 网址
- B4 e( N2 q5 @1 o7 a* r8 t5 Twget --bind-address=127.0.0.1 网址
3 L; e- K$ }! K& X$ M/ j
1 [4 f/ F% E. k) N- b! p7 _curl -v方式获取端口是否正常通信9 C% l6 \( X8 v3 T
curl -v 10.16.68.32:22
4 Q+ k$ l I S7 m; J* Rebuilt URL to: 10.16.68.32:22/
; V- C: o3 M) c; n4 V6 i* Trying 10.16.68.32...2 m6 I5 U. i; y! {, v7 | a
* TCP_NODELAY set2 ? r1 v/ G/ @
* Connected to 10.16.68.32 (10.16.68.32) port 22 (#0)) h0 }5 o6 z+ u9 h6 n) b" y* F
> GET / HTTP/1.1+ }: U" d% ?6 P- [& d; y
> Host: 10.16.68.32:22
c: p' S) G) w3 F3 j% r. F> User-Agent: curl/7.61.17 r! {* h6 q) V$ G
> Accept: */*
! t6 t# _) q! t) c6 Z3 i. n; D* v5 F>
, n+ g, ]9 I! nSSH-2.0-OpenSSH_8.0
) `: w' a! N4 H, sInvalid SSH identification string.( x5 @& x" C+ s# z* w
* Recv failure: Connection reset by peer3 ]6 m" n. y, [! p0 J- z! ^
* Closing connection 0
: I; M4 R; |* k2 a/ O- mcurl: (56) Recv failure: Connection reset by peer |
|