linux-tools-监听一个TCP端口

天生帅才 / 2023-05-17 / 原文

1.使用 Python 模块监听一个TCP端口

python3 -m http.server <port>

2.使用 docker nginx 代理端口