如何解决访问Metadata地址状态码为404的问题?

计算操作系统技术服务知识库
问题描述

实例内部通过以下方式获取实例元数据失败

[root@xxxxx /]# curl 100.96.0.96
404 page not found

解决方案

应访问http://100.96.0.96/volcstack/latest

curl http://100.96.0.96/volcstack/latest
vpc_id
subnet_id
hostname
private_ipv4
vpc_cidr_block
subnet_cidr_block
network
dns_conf
mac
instance_id
owner_account_id
sub_private_ipv4_list
availability_zone
region_id
instance_type
问题原因

访问URL不正确导致。 如果您有其他问题,欢迎您联系火山引擎技术支持服务

48
0
0
0
相关产品
评论
未登录
看完啦,登录分享一下感受吧~
暂无评论