GopeedLab / browser-extension

A browser extension for Gopeed.
86 stars 9 forks source link

服务器无法连接 #29

Open guojq82 opened 5 months ago

guojq82 commented 5 months ago

按教程设置 点击保存 一直显示服务器无法链接 保存了也是红灯

guojq82 commented 5 months ago

1 2

monkeyWie commented 5 months ago

6666端口可能被别的程序占用了,换个端口试试

guojq82 commented 5 months ago

换了端口 保存是不提示了 但是 还是红灯 无法使用

monkeyWie commented 5 months ago

这样应该是没问题了啊,重启浏览器试试呢

guojq82 commented 5 months ago

应该还是插件哪里有问题  更换软件扩展链接里面另一个类似功能扩展 同一个端口能正常使用

---原始邮件--- 发件人: @.> 发送时间: 2024年4月27日(周六) 晚上8:48 收件人: @.>; 抄送: @.**@.>; 主题: Re: [GopeedLab/browser-extension] 服务器无法连接 (Issue #29)

这样应该是没问题了啊,重启浏览器试试呢

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hub010 commented 4 months ago

1 2

1 2

360截图20240518151402534

guojq82 commented 4 months ago

还是不行  绿一下  过后就红了

---原始邮件--- 发件人: @.> 发送时间: 2024年5月18日(周六) 下午3:15 收件人: @.>; 抄送: @.**@.>; 主题: Re: [GopeedLab/browser-extension] 服务器无法连接 (Issue #29)

你直接改成这样看是否可行 http://localhost:9999/

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Crystal-RainSlide commented 4 months ago

还是不行 绿一下 过后就红了

可能是过后端口又被占用了??

Szymok commented 3 months ago

what to do In the case where you have configured Traefik and are accessing the app via mydomain.com?,How to to add the server to the extension, when specifying the port is necessary?

Vanisper commented 1 month ago

我这里也有这个问题,亲测不是端口占用问题,我用node跑了一个服务请求这个接口没问题。 猜测是浏览器插件的问题

以下是浏览器调试控制台的网络请求情况:

image


以下是nodejs服务的请求结果(成功): image

Vanisper commented 1 month ago

按教程设置 点击保存 一直显示服务器无法链接 保存了也是红灯

想知道你的环境是什么,我在mac上有这个问题

monkeyWie commented 1 month ago

@Vanisper 看这个异常感觉是6666浏览器不让访问,你换个端口试试呢

Vanisper commented 1 month ago

@Vanisper 看这个异常感觉是6666浏览器不让访问,你换个端口试试呢

感谢大佬回复 我刚刚在windows上测试了一下 也是发现6666这个端口就是会出问题 我现在试试别的

monkeyWie commented 1 month ago

@Vanisper 看这个异常感觉是6666浏览器不让访问,你换个端口试试呢

感谢大佬回复 我刚刚在windows上测试了一下 也是发现6666这个端口就是会出问题 我现在试试别的

看样子6666端口可能是什么系统保留端口啊,我还是把文档改下吧,省的这么多人掉坑里🤣

Vanisper commented 1 month ago

@Vanisper 看这个异常感觉是6666浏览器不让访问,你换个端口试试呢

感谢大佬回复 我刚刚在windows上测试了一下 也是发现6666这个端口就是会出问题 我现在试试别的

看样子6666端口可能是什么系统保留端口啊,我还是把文档改下吧,省的这么多人掉坑里🤣

大佬 且慢 还有更多的信息: image

image

image

image

Vanisper commented 1 month ago

至少在我这台mac电脑上 666 端口根本没有被启动

6666 端口启动了,但是浏览器请求不了(lsof -i tcp:6666 的表现也不太一样,但是nodejs的服务能请求)

暂时用其余端口没问题

monkeyWie commented 1 month ago

应该都是同样的问题,端口尽量设置高点,低位的一般系统有保留使用之类的,还有Gopeed会升级成直接支持和浏览器扩展通讯,不用配置端口了

Vanisper commented 1 month ago

应该都是同样的问题,端口尽量设置高点,低位的一般系统有保留使用之类的,还有后面扩展会改版直接和下载器通讯,不用配置端口了

嗯嗯 👍

Vanisper commented 1 month ago

查询了资料发现: “6665——6669这几个端口是IRC协议使用的缺省端口,存在很大的安全风险,很容易被木马程序利用,被谷歌火狐浏览器屏蔽掉了”

关于 666 端口可能更具戏剧性😂 https://www.reddit.com/r/networking/comments/3xs98t/what_does_port_666_being_reserved_for_doom_mean/ https://www.reddit.com/r/ProgrammerHumor/comments/294tfy/tcpudp_port_666_is_officially_registered_for_doom/