智能助手网
标签聚合 端口

/tag/端口

www.solidot.org · 2026-04-17 23:24:24+08:00 · tech

Firefox Nightly 版加入了对 Web Serial API 的支持,而六年前 Mozilla 以不安全为由反对支持该 API。Web Serial API 允许浏览器与通过串行端口通信的设备交互,此类设备包括 3D 打印机,微控制器如 Arduino 和 ESP32,智能家居面板如 ESPHome,以及通过 USB 或蓝牙模拟串行端口的设备通信。Google Chrome 自 2021 年起加入了对 Web Serial API 的支持,基于 Chromium 的浏览器如 Edge、Opera 和 Vivaldi 也都支持该 API。Mozilla 杰出工程师 Martin Thomso 在 2020 年表示,对于如此强大的功能,无法为用户提供充分的保护,即使用户同意。串行端口是物理连接赋予高度信任的时代的遗物,许多设备允许通过该接口连接的设备在没有任何身份验证的情况下获得管理权限,这一权限甚至超过了 root。两年后 Mozilla 被要求重新考虑其立场,Firefox CTO Bobby Holley 表示 Mozilla 愿意采用和 WebMIDI 相同的附加组件守门机制(add-on-gating mechanism)支持 WebSerial API。Mozilla 目前仍然反对 WebUSB 和 WebHID,而苹果 WebKit 团队仍然对 WebSerial、WebUSB 和 WebHID 持反对态度。

linux.do · 2026-04-13 21:10:56+08:00 · tech

CLIProxyAPI 在使用OAuth点击Codex 登录,显示认证失败: failed to start callback server. 查看日志:failed to start codex callback forwarder error=failed to listen on 0.0.0.0:1455: listen tcp 0.0.0.0:1455: bind: An attempt was made to access a socket in a way forbidden by its access permissions. 在本机执行 命令 netsh int ipv4 show excludedportrange protocol=tcp 显示 端口1455 在tcp 端口排除范围内。需要另指定端口。 使用命令 ./cli-proxy-api.exe --help CLIProxyAPI Version: 6.9.24, Commit: c4459c43, BuiltAt: 2026-04-12T06:27:52Z cli-proxy-api.exe -oauth-callback-port int Override OAuth callback port (defaults to provider-specific port) 的确有一个参数 oauth-callback-port 是可以更改callback port的,但这个参数是如何使用? .\cli-proxy-api.exe -oauth-callback-port=12334 这样开启以后,仍然显示端口使用1455 请问大佬们遇到这个问题了吗?是如何解决的。 2 个帖子 - 2 位参与者 阅读完整话题

linux.do · 2026-04-13 10:23:01+08:00 · tech

Amazing啊!好奇怪的端口占用问题但是找不到占用的进程… 和这个帖子似乎类似: centos07里面开启docker失败,显示2375端口被占用,但是查不到占用的应用 开发调优 vm什么网络模式,另外你不是root账号吧,命令加上sudo 我在 win11 的 WSL2 下试图开启 tensorbroad : tensorboard --logdir runs/ /home/xxxx/projects/.venv/lib/python3.11/site-packages/tensorboard/default.py:30: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources TensorFlow installation not found - running with reduced feature set. NOTE: Using experimental fast data loading logic. To disable, pass "--load_fast=false" and report issues on GitHub. More details: https://github.com/tensorflow/tensorboard/issues/4784 Address already in use Port 6006 is in use by another program. Either identify and stop that program, or start the server with a different port. 然而却无法排查到占用进程: lsof -i:6006 <无任何输出> 曾经我重启过电脑之后好了 但还是想知道此事如何发生。 BTW,不知为何,更换端口不一定有用: tensorboard --logdir runs/ --port=6007 /home/xxxx/projects/.venv/lib/python3.11/site-packages/tensorboard/default.py:30: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources TensorFlow installation not found - running with reduced feature set. NOTE: Using experimental fast data loading logic. To disable, pass "--load_fast=false" and report issues on GitHub. More details: https://github.com/tensorflow/tensorboard/issues/4784 Address already in use Port 6007 is in use by another program. Either identify and stop that program, or start the server with a different port. 4 个帖子 - 3 位参与者 阅读完整话题

linux.do · 2026-04-13 08:22:23+08:00 · tech

昨天还用的好好的SSH登录了甲骨文的服务器。 结果今天死活登录不上,刚好昨天的时候把服务器重置过,我还以为是因为重置导致的这台VPS出故障了呢。 然后各种百度各种谷歌,最后还是用AI一步一步地终于问出来了结果。 可恶的运营商居然把我的端口给封了。 用手机热点连上立马就没问题可以连接,结果换成家里的宽带立马就连接不上了。 太恶心了,广电。 3 个帖子 - 3 位参与者 阅读完整话题