tcp ping online
https://tcp.ping.pe/
https://tcp.ping.pe/
# 查看有多少远程的 IP 在连接本机 # sort 可以按数字大小排序,最后使用 uniq 将多余… 继续阅读 get remote host counts of tcp
error: root@arm:~# dmesg | tail [1868091.585379] s… 继续阅读 svc: svc_tcp_read_marker nfsd RPC fragment too large
查看行号: iptables -L -n –line-number eg: Chain INPUT… 继续阅读 linux中iptables删除一条具体规则
netstat -tan | awk '/^tcp/ {++state[$NF]} END… 继续阅读 查看 http 的并发请求数与其TCP连接状态
netstat -n | awk '/^tcp/ {print $5}' | a… 继续阅读 查看Linux系统每个ip的连接数
# 拉取镜像 docker pull ghcr.io/opensumi/opensumi-web:l… 继续阅读 docker run opensumi web ide
func checkAlive(ip string, port int) bool { isAliv… 继续阅读 golang net.DialTimeout
vm.swappiness=0 # 禁止使用 swap 空间,只有当系统 OOM 时才允许使用它 v… 继续阅读 linux内核常用参数
docker run –rm -d -p 8080:8000/tcp ghcr.io/opensu… 继续阅读 docker run opensumi编辑器
stream { allow 114.114.114.114; deny all; proxy_ti… 继续阅读 nginx tcp代理增加ssl
dsn := “user:pass@tcp(127.0.0.1:3306)/dbname?chars… 继续阅读 GORM 使用 database/sql 维护连接池
//db, err = gorm.Open(“mysql”, “root:password@tcp(… 继续阅读 gorm使用连接池
解决办法: root:123456@tcp(127.0.0.1:3306)/testdb?chars… 继续阅读 Scan error on column index 1, name “created_at”: unsupported Scan, storing driver.Value type []uint8
stream { allow 114.114.114.114; deny all; proxy_ti… 继续阅读 nginx stream tcp代理 增加白名单
设置allow、deny参数,也可作用于TCP和UDP代理: allow 114.114.114.1… 继续阅读 NGINX白名单配置
配置lotus daemon config.toml文件 # e.g [API] ListenAdd… 继续阅读 lotus使用远程 daemon
在/etc/fstab挂载 172.16.0.4:/volume1/nfs_nas /nfs_nas… 继续阅读 挂载nfs磁盘
配置策略 本地8999转发到172.16.0.10的9000 netsh interface por… 继续阅读 windows netsh端口转发