当前位置:网站首页>阿里云服务器域名加端口网页不能访问问题记录
阿里云服务器域名加端口网页不能访问问题记录
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进行同样设置之后访问正常,所以最终处理方式是进行备案处理.
以上是我遇到此问题的处理过程以及解决方式,如果有同样疑惑的小伙伴可以参考上述进行排查,场景不同当然还会有其他原因,欢迎评论区交流.
边栏推荐
- How to interact with the server when the client sends an SQL message
- OC message mechanism
- Contour detection based on OpenCV (1)
- Characteristics and experimental suggestions of abbkine abfluor 488 cell apoptosis detection kit
- C # using sqlsugar updatable system to report invalid numbers, how to solve it? Ask for guidance!
- Function pointer and callback function
- Director of meta quest content ecology talks about the original intention of APP lab design
- Worthington papain dissociation system solution
- Redis(九) - Redis之分布式锁
- 数字孪生实际应用:智慧城市项目建设解决方案
猜你喜欢

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

Basic concept and essence of Architecture

Worthington papain dissociation system solution

数字孪生应用及意义对电力的主要作用,概念价值。

开机启动流程及营救模式

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

Implementation of API short message gateway based on golang

路由策略第一关

flask_ Reqparse parser inheritance in restful

MySQL has a nonexistent error
随机推荐
Duplicate disc: what are the basic attributes of an image? What do you know about images? What are the parameters of the image
J-3-point practice in the second game of 2022 Niuke multi school
Solution to Chinese garbled code in console header after idea connects to database to query data
分享当下人生——一个高中毕业生在中央电视台的六星期实习经历
Plato Farm有望通过Elephant Swap,进一步向外拓展生态
Binary tree (day 82)
Leetcode- > 2-point search and clock in (3)
Design method and test method of APP interface use case
复盘:图像有哪些基本属性?关于图像的知识你知道哪些?图像的参数有哪些
MySQL Chinese failure
Daffodils (day 78)
Data analysis and disassembly method of banyan tree in Bairong
Basic concept and essence of Architecture
How to conduct 360 assessment
Kettle reads file split by line
C language introduction practice (12): find the value of natural constant e
Process analysis of object creation
在typora中插入图片和视频
这个FlinkCDC会监控数据库中所有的表?还是指定的表呢?我看后台日志,他是监控了所有表,如果监控
关于使用hyperbeach出现/bin/sh: 1: packr2: not found的解决方案