当前位置:网站首页>阿里云服务器域名加端口网页不能访问问题记录
阿里云服务器域名加端口网页不能访问问题记录
2022-07-27 02:30:00 【卖柴火的小伙子】
问题背景
新申请的阿里云域名,下文都叫域名A.com吧,注册申请成功之后从DNS解析里面添加了一条记录.
项目接口文档测试环境地址为:服务器ip:8080/doc.html,直接使用此地址可以进行访问,但是修改为:job.域名A.com:8080/doc.html就不能访问了.
处理过程
首先看一下域名是否能ping通.

ping job.域名A.com发现可以.阿里云安全组是否开放8080端口

8080端口已指定开放端口.
- 防火墙是否关闭
这里使用的Ubuntu版本,执行sudo ufw status
显示是关闭
- 阿里云工单求助
客服反馈将8080端口开放ip修改为0.0.0.0/0,重新访问显示
阿里云客服建议域名备案之后重试.至于为什么域名访问时要将安全组授权ip设置为0.0.0.0/0,原因是正常使用域名访问需要先解析到服务器的ip 地址,客户端发起的请求会发送到对应的ip ,如果服务器侧有防火墙等限制会直接阻断网络请求,需要放行使用。
使用之前申请过并且备案过的域名B进行同样设置之后访问正常,所以最终处理方式是进行备案处理.
以上是我遇到此问题的处理过程以及解决方式,如果有同样疑惑的小伙伴可以参考上述进行排查,场景不同当然还会有其他原因,欢迎评论区交流.
边栏推荐
- FastBoot brush machine
- Use websocket to realize a web version of chat room (fishing is more hidden)
- Worthington papain dissociation system solution
- Introduction to database - a brief introduction to MySQL
- 九方智投是正规公司吗?一起聊聊九方智投
- J-3-point practice in the second game of 2022 Niuke multi school
- Daffodils (day 78)
- Practical application of digital twins: smart city project construction solution
- Banyan data model of Bairong
- Member array and pointer in banyan loan C language structure
猜你喜欢

基于OpenCV的轮廓检测(1)

The new version of Alibaba Seata finally solves the idempotence, suspension and empty rollback problems of TCC mode

Basic concept and essence of Architecture

Briefly sort out the dualpivotquicksort

分享当下人生——一个高中毕业生在中央电视台的六星期实习经历

Application of one-dimensional array

477-82(236、61、47、74、240、93)

Okaleido tiger is about to log in to binance NFT in the second round, which has aroused heated discussion in the community

复盘:DFS与BFS的主要区别,在思想上的区别,代码实现上的区别

Network security / penetration testing tool awvs14.9 download / tutorial / installation tutorial
随机推荐
Network security / penetration testing tool awvs14.9 download / tutorial / installation tutorial
Csu18m91 is used as the master controller of the intelligent scale scheme
Application of one-dimensional array
Chapter 5 决策树和随机森林实践
Using redis C library, the problem of asynchronous memory leakage
Tool class of localdatetime sorted out by yourself
Daffodils (day 78)
Director of meta quest content ecology talks about the original intention of APP lab design
Function pointer and callback function
Reading notes of Kazuo Inamori's advice to young people
Do you really understand code rollback?
飞腾腾锐 D2000 荣获数字中国“十大硬核科技”奖
Smart pointer shared_ ptr、unique_ ptr、weak_ ptr
C # using sqlsugar updatable system to report invalid numbers, how to solve it? Ask for guidance!
Is Jiufang intelligent investment a regular company? Talk about Jiufang intelligent investment
Deployment of ruoyi's environment and operation of the system
Use websocket to realize a web version of chat room (fishing is more hidden)
开机启动流程及营救模式
[untitled]
Number of square arrays (day 81)