我用vs2017创建了一个c++ linux项目。我设置了一个到WSL (linux的windows子系统)的连接。当我构建或尝试调试时,我得到以下错误:
Current project architecture ‘x64’ is incompatible with the remote system architecture ” (‘Unknown’). Please switch the project architecture to ” in Configuration Manager
如何解决这个问题呢?
我是从日本发帖的。我的英语不是很好,所以如果我问了一些粗鲁的问题,我很抱歉。
我正在使用亚马逊网络服务的EC2构建一个服务器。
我熟悉亚马逊网络服务SecurityGroup和NACL的使用。
这一次,我还需要同时为我的EC2上的Linux OS配置防火墙。
我正在使用SSM连接到EC2实例。
我想控制Linux OS防火墙的输出。它看起来像这样。示例)
Rule 1 *. *. *. */* to port ** is allowed
Rule 2 *. *. *. */* to port ** is allowed
Except for rules 1 and 2, all outputs
我在Azure VM上更改了RDP的端口。现在我无法连接到它。可能是因为我忘了将防火墙设置为允许新端口。现在我不能访问它了。
我不确定之前是否在该虚拟机上设置了Powershell。然而,当我使用Enter-PSSession时,它给了我这个错误:
Enter-PSSession : Connecting to remote server 40.xx.xxx.xxx failed with the following error message : WinRM cannot
complete the operation. Verify that the specified computer n