开发者社区> 问答> 正文

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 2149 0
2 条回答
写回答
取消 提交回答
  • 阿里云大学导师

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

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

    题主您好,

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

    2019-07-17 22:06:33
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
MongoShake -- Multi Active-Active and Cross-Region Disaster Recoverable MongoDB Service 立即下载
“移”网打尽-Mobile Network as a Service 网络即服务 立即下载
“移”网打尽—— Mobile Network as a Service 网络即服务 立即下载

相关实验场景

更多