windows配置内网穿透

目录

dify访问:

在 Windows 上配置 frpc


dify访问:

VECTOR_STORE=milvus
MILVUS_URL=http://host.docker.internal:19530  # 取决于 Milvus 启动位置

在 Windows 上配置 frpc

  • 下载地址:https://github.com/fatedier/frp/releases

  • 解压后,编辑 frpc.ini

下载版本:

frp_0.62.1_windows_amd64.zip

[common]
server_addr = 1.2.3.4       # 改成你的公网服务器IP
server_port = 7000

[milvus]
type = tcp
local_ip = 127.0.0.1
local_port = 19530
remote_port = 19531
 

启动 frpc.exe

frpc.exe -c frpc.ini

现在访问 1.2.3.4:19531 就等价于访问你本地的 localhost:19530(Milvus)。

你可能感兴趣的:(win/ubuntu,运维,服务器)