当前位置:网站首页>阿里云服务器域名加端口网页不能访问问题记录
阿里云服务器域名加端口网页不能访问问题记录
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进行同样设置之后访问正常,所以最终处理方式是进行备案处理.
以上是我遇到此问题的处理过程以及解决方式,如果有同样疑惑的小伙伴可以参考上述进行排查,场景不同当然还会有其他原因,欢迎评论区交流.
边栏推荐
- Digital analog 1232
- Process analysis of object creation
- Daffodils (day 78)
- 基于OpenCV的轮廓检测(1)
- Number of square arrays (day 81)
- Introduction to database - a brief introduction to MySQL
- Basic concept and essence of Architecture
- Detailed tutorial of typera
- Is it safe for tongdaxin to open an account
- On the first day of Shenzhen furniture exhibition, the three highlights of Jin Ke'er booth were unlocked!
猜你喜欢

【安卓小叙】Kotlin多线程编程(一)

Program to change the priority of the process in LabVIEW
![[tree chain dissection] 2022 Hangzhou Electric Multi school 21001 static query on tree](/img/b3/58c053d082807a0e5639e5b968aa20.png)
[tree chain dissection] 2022 Hangzhou Electric Multi school 21001 static query on tree

Six determination methods of Worthington peroxidase activity

How to interact with the server when the client sends an SQL message

Use websocket to realize a web version of chat room (fishing is more hidden)

About the solution of using hyperbeach to appear /bin/sh: 1: packr2: not found

Interview question: the difference between three instantiated objects in string class

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

Implementation of API short message gateway based on golang
随机推荐
Worthington papain dissociation system solution
Application of one-dimensional array
[untitled] JDBC connection database read timeout
注释有点好玩哦
一维数组的应用
Day 28 of leetcode
Characteristics and experimental suggestions of abbkine abfluor 488 cell apoptosis detection kit
Vector to SVG method
222. 完全二叉树的节点个数
C language introduction practice (12): find the value of natural constant e
Use websocket to realize a web version of chat room (fishing is more hidden)
Detailed tutorial of typera
[Android synopsis] kotlin multithreaded programming (I)
flask_ Reqparse parser inheritance in restful
Feitengtengrui d2000 won the "top ten hard core technologies" award of Digital China
安装umi4阻碍一天的问题解决了
明汯投资裘慧明:长期优异超额的背后考验的是团队的投研能力和策略的完整性
Characteristics and determination scheme of Worthington pectinase
Solution to Chinese garbled code in console header after idea connects to database to query data
FastBoot brush machine