-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect Fail 连接agent失败的常见原因 #10
Labels
good first issue
Good for newcomers
Comments
This was referenced Mar 19, 2019
并没有出现这个服务,好奇怪 |
@ShaolongGao 加群488312978 我看下 |
System.IO.FileNotFoundException: 未能加载文件或程序集“AntDeployAgentWindows, Version=3.2.0.0, Culture=neutral, |
@rebelboy 抱歉 刚提交漏了一个dll 补上了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如下图:
1.1 agent是否启动成功
进入windows服务管理器查看下 agent的服务是否运行中
如果没有启动成功,可能端口号冲突了,建议agent的端口配置成一个不常用的端口号
1.2 如果agent服务运行中 确定下在Host 和 Token是否填写正确
这里强调一下 Host 填写的是如下格式 192.168.0.0.1:8888
这个192.168.0.0.1 是 agent所在服务器的ip地址
8888 是agent的配置文件中配置的端口号
Token是agent的配置文件中配置的Token
1.3 确认是否端口号开通了
比如阿里云服务器就需要在阿里云配置页里面开通端口的对外开放才行
使用agent服务安装工作测试在服务器是否能连接agent成功
点击 本机测试连接agent按钮
也可以手动在服务器的浏览器输入如下地址
http://ip:port/publish?Token=xxx
ip替换成你服务器的ip
port替换成你agent配置的port
token你替换成agent配置的token
如果访问内容是true说明agent是部署成功的。
问题出在了外网访问不到!可以查查是不是防火墙拦住了或者策略限制了等!
1.4确认是否走了代理 关闭代理在试试
The text was updated successfully, but these errors were encountered: