0
点赞
收藏
分享

微信扫一扫

解决uniapp里的onNavigationBarSearchInputClicked不生效

晗韩不普通 2024-06-04 阅读 8
运维

开启端口

sudo vim /etc/pf.conf
# 开放对应端口
pass out proto tcp from any to any port 8080
# 刷新配置文件
sudo pfctl -f /etc/pf.conf
sudo pfctl -e

获取本机ip地址

ifconfig en0 | grep inet | grep -v inet6 | awk '{print $2}'

访问指定端口

在这里插入图片描述
在这里插入图片描述

举报

相关推荐

0 条评论