# How to open insecure port 8080 for k8s v1.25.x to allow others to access apiserver

**URL:** <https://discuss.kubernetes.io/t/how-to-open-insecure-port-8080-for-k8s-v1-25-x-to-allow-others-to-access-apiserver/21756>\
**Category:** Chinese\
**Created:** [October 27, 2022, 9:32am UTC](https://discuss.kubernetes.io/t/how-to-open-insecure-port-8080-for-k8s-v1-25-x-to-allow-others-to-access-apiserver/21756 "2022-10-27T09:32:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shao\_jiang](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/shao_jiang/32/10457_2.png) [@shao\_jiang](https://discuss.kubernetes.io/u/shao_jiang)\
**Post date:** [October 27, 2022, 9:32am UTC](https://discuss.kubernetes.io/t/how-to-open-insecure-port-8080-for-k8s-v1-25-x-to-allow-others-to-access-apiserver/21756/1 "2022-10-27T09:32:53Z")

</div>

k8s version：v1.25.3  
question: 如何开启k8s apiserver的非安全端口来允许外网访问apiserver？  
在之前版本中，通过更改kube-apiserver.yaml,加入

> - –insecure-port=port

> - –insecure-bind-address=0.0.0.0  
> 可以允许外网对apiserver进行访问，但在1.25.x版本中，更改yaml文件后会出现

> The connection to the server ip:6443 was refused - did you specify the right host or port?  
> 问题，是1.25.x版本不支持非安全端口开放了吗？还是我的配置有错误？希望有人能帮助我？
