跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] docker 容器如何使用宿主机的代理设置?

发表于

我用了 ssh 远程端口转发,服务器 7000 端口的流量会转发到我本地的 v2ray 端口上。

docker 容器使用的网络模式是 bridge 模式,使用 curl 172.17.0.1:xxxx 来访问宿主机上的其它网络服务都是正常的,只有 7000 端口无法访问,提示 “curl: (7) Failed connect to 172.17.0.1:7000; Connection refused”

查看一下 7000 端口的监听信息,发现是这样显示的“[::1]:7000”,与这个有关系吗?

这个问题怎么解决呢?谢谢

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.