oracle cloud 设置 80 端口网络访问

  1. Enable Internet Access
  2. 启用 Internet 访问
    The Create a VM Instance wizard automatically creates a VCN for your VM. You add an ingress rule to your subnet to allow internet connections on port 80.
    “创建 VM 实例”向导会自动为您的 VM 创建 VCN。向子网添加入口规则,以允许端口 80 上的 Internet 连接。

Create an Ingress Rule for your VCN
为 VCN 创建入口规则
Follow these steps to select your VCN’s public subnet and add the ingress rule.
按照以下步骤选择 VCN 的公有子网并添加入口规则。

Open the navigation menu and click Networking, and then click Virtual Cloud Networks.
打开导航菜单,单击“网络”,然后单击“虚拟云网络”。
Select the VCN you created with your compute instance.
选择使用计算实例创建的 VCN。
With your new VCN displayed, click subnet link.
显示新 VCN 后,单击 子网链接。
The public subnet information is displayed with the Security Lists at the bottom of the page. A link to the Default Security List for your VCN is displayed.
公有子网信息与安全列表一起显示在页面底部。将显示指向 VCN 的默认安全列表的链接。

Click the Default Security List link.
单击“默认安全列表”链接。
The default Ingress Rules for your VCN are displayed.
将显示 VCN 的默认入口规则。

Click Add Ingress Rules.
单击 Add Ingress Rules。
An Add Ingress Rules dialog is displayed.
此时将显示“添加入口规则”对话框。

Fill in the ingress rule with the following information.
在入口规则中填写以下信息。
Fill in the ingress rule as follows:
按如下方式填写入口规则:

Stateless: Checked
Source Type: CIDR
Source CIDR: 0.0.0.0/0
IP Protocol: TCP
Source port range: (leave-blank)
源端口范围:(留空)
Destination Port Range: 80
目标端口范围:80
Description: Allow HTTP connections
描述:允许 HTTP 连接
Click Add Ingress Rules. Now HTTP connections are allowed. Your VCN is configured for Apache server.
单击 Add Ingress Rules。现在允许 HTTP 连接。您的 VCN 已配置为 Apache 服务器。

Click Add Ingress Rules.
单击 Add Ingress Rules。
Now HTTP connections are allowed. Your VCN is configured for Apache server.
现在允许 HTTP 连接。您的 VCN 已配置为 Apache 服务器。
You have successfully created an ingress rule that makes your instance available from the internet.
您已成功创建入口规则,使您的实例可以从 Internet 访问。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值