与Portainer连接:“资源是在线的,但没有响应连接尝试。
我在旧笔记本电脑上安装了Ubuntu。现在,有Portainer运行的Docker,我想通过同一网络中的主PC访问Portainer。当我尝试通过我的笔记本电脑连接到Portainer(不是Localhost地址)时,它可以正常工作。但是,当我尝试通过我的PC连接时,我会超时。 Windows Diagnostics说:“资源是在线的,但没有响应连接尝试”。如何打开我本地网络的Portainer?还是Ubuntu的问题?
I installed Ubuntu on an older Laptop. Now there is Docker with Portainer running and I want to access Portainer via my main PC in the same network. When I try to connect to Portainer via my Laptop where it is runnig (not Localhost address) it works fine. But when I try to connect via my PC, I get a timeout. Windows diagnostics says: "resource is online but isn't responding to connection attempts". How can I open Portainer to my local network? Or is this a problem with Ubuntu?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因此,请检查您是否正在运行SSH的OpenSSH服务器!禁用终端上的防火墙
sudo ufw disable
检查您的网卡是否正在使用名称ETH0IfConfig
在此步骤之后使用NetPlan,使用NetPlan,这是当今的默认情况。文件
/etc/netplan/00-installer-config.yaml
文件。但是B4您需要使用LSHW命令获取串行/MAC查找目标设备Mac/HW地址:
您将看到一些输出,
因此您进行串行
DC:A6:32:32:E8:23:19
Note Note Note设置名称选项。
这也适用于WiFi部分。
如果您使用Calbe,则可以删除所有内容,仅添加示例仅更改您的序列“ Mac”
sudo nano /etc/netplan/00-intplan/00-installer-config.yaml
file。然后测试此配置运行。
重新启动
后,请重新启动Ubuntu
时
停止portainer容器
,请删除Portainer容器,
现在在最后一个版本上再次运行
so check if you have openssh server running for ssh! disable firewall on terminal
sudo ufw disable
check if your network card is running on name eth0ifconfig
if not change following this step belowUsing netplan which is the default these days. File
/etc/netplan/00-installer-config.yaml
file. but b4 you need to get serial/macFind the target devices mac/hw address using the lshw command:
You'll see some output which looks like:
So then you take the serial
dc:a6:32:e8:23:19
Note the set-name option.
This works for the wifi section as well.
if you using calbe you can delete everything add the example only change for your serial "mac"
sudo nano /etc/netplan/00-installer-config.yaml
file.Then then to test this config run.
When your happy with it
reboot you ubuntu
after restart
stop portainer container
remove portainer container
now run again on the last version