开发者

Bind AWK TCP connection to certain IP

开发者 https://www.devze.com 2023-03-17 21:47 出处:网络
/inet/tcp/80/0/0 Port 80 is alre开发者_C百科ady in use by eth0:1 (lighttpd server) but I\'d like to bind my AWK process on eth0.
/inet/tcp/80/0/0

Port 80 is alre开发者_C百科ady in use by eth0:1 (lighttpd server) but I'd like to bind my AWK process on eth0.

Is there any way you can define IP on which to bind AWK process?


A workaround would be to use "netcat -l -p 80 -s you.ip.number" within AWK.

0

精彩评论

暂无评论...
验证码 换一张
取 消