开发者社区 问答 正文

Specified security group and virtual switch are not in the same VPC. 这个问题该怎么解决

com.aliyuncs.exceptions.ClientException: InvalidParameter.Mismatch : Specified security group and virtual switch are not in the same VPC. 通过阿里云创建实例的时候报的错误 查看的原因是指定安全组与 VSwitch 不属于同一个 VPC。 但是不知道怎么解决...

展开
收起
小灰灰丶 2018-04-23 14:19:12 2319 分享 版权
2 条回答
写回答
取消 提交回答
  • 阿里云大学导师

    您好,因为您选择的交换机和安全组不是同一个VPC里面的,所以需要您选择和交换机有相同VPC的安全组。

    2019-07-17 22:06:34
    赞同 展开评论
  • 旺旺:nectar2。

    题主您好,

    请问您是通过阿里云的购物车来创建ECS实例,还是通过阿里云公共API来创建的呢?

    2019-07-17 22:06:33
    赞同 展开评论
问答分类:
问答标签:
问答地址: