1. 程式人生 > >Allow Users To Connect to HTTP or HTTPS Ports on an EC2 Instance

Allow Users To Connect to HTTP or HTTPS Ports on an EC2 Instance

To allow traffic on port 80 and 443, you must configure the associated security group and network access control list (network ACL).

Security group rules

For HTTP traffic, add an inbound rule on port 80 from the source address 0.0.0.0/0. For HTTPS traffic, add an inbound rule on port 443 from the source address 0.0.0.0/0. These inbound rules allow traffic from IPv4 addresses. To allow IPv6 traffic, add inbound rules on the same ports from the source address ::/0. For more information on creating or modifying security groups, see

Working with Security Groups.

Because security groups are stateful, the return traffic from the instance to users is allowed automatically, so you don't need to modify the security group's outbound rules.

The following example shows the security group rules for allowing both IPv4 and IPv6 traffic on port 80 and 443:

Inbound rules

相關推薦

Allow Users To Connect to HTTP or HTTPS Ports on an EC2 Instance

To allow traffic on port 80 and 443, you must configure the associated security group and network access control list (network ACL).

fatal: unable to access https:// Failed to connect to: Connection refused|git clone問題(完美解決)

fatal: unable to access ‘https://github.com/xxxx/’: Failed to connect to x.x.x.x port xxxxx: Connection refused|git clone問題(完美解決) 系統: ubunt

rancher報錯ERROR: http://192.168.200.8:8080/v1 is not accessible (Failed to connect to 192.168.200.8 p

報錯前 INFO: Running Agent Registration Process, CATTLE_URL=http://192.168.200.8:8080/v1 INFO: Attempting to connect to: http://192.168.200.8:8080/v1 E

docker 出現錯誤:no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS

docker 出現錯誤:Get http:///var/run/docker.sock/v1.19/version: dial unix /var/run/docker.sock: no such fi

github unable to access 'https://github.com/...: Failed to connect to github.com port 443‘

建立一個github帳號(pythonsoft)之後,按照提示create a repository: test. 想把這個專案clone到本地: git clone https://github.com/pythonsoft/test.git 出現錯誤: unable t

github unable to access 'https://github.com/...: Failed to connect to github.com port 443‘

建立一個github帳號(pythonsoft)之後,按照提示create a repository: test. 想把這個專案clone到本地: 出現錯誤: 原因是沒有輸入指定使用者名稱和密碼: 開啟終端,切換到git目錄(我的是/home/s

Jenkins Https方式獲取Git程式碼 Failed to connect to repository 錯誤

因為是一些個人專案,用SSH配置拿取程式碼比較麻煩,就試著用Http的方式,我用的Bitbucket,在網站上拿下來的Http連結如下: https://[email protected]/hiqianjin/someproject.git 然後在Jenkins 

解決openstack “failed to connect to server (code: 1006)”故障一例

code: 1006 failed 控制臺 新建 openstack版本環境:ocata安裝完成ocata版本後,新建主機實例後,通過管理端進入主機實例的控制臺時,報錯:“failed to connect to server (code: 1006)”解決思路:1、檢查日誌文件,通過日誌尋找

安卓控件獲取器uiautomatorviewer初體驗:"unable to connect to the adb. check if adb is installed correctly"

isn tdi pty all hal hot cep accep challenge 解決方法:轉自:https://plus.google.com/108487870030743970488/posts/2TrMqs1ZGQv Challenge Accepted:1.

我遇到的錯誤curl: (7) Failed to connect to 127.0.0.1 port 1086: Connection refused

ace bsp port style connect col socks 註釋 ref 今天我用curl命令,無論如何都是出現: curl: (7) Failed to connect to 127.0.0.1 port 1086: Connection refused 找

mysql遠程連接 Host * is not allowed to connect to this MySQL server

his 名稱 微軟 allow cal local 代碼 訪問 spa 在本機登入mysql後,更改"mysql"數據庫裏的"user"表裏的"host"項,從"localhost"改為‘%‘。 代碼如下 mysql> mysql>us

Android 異常: failed to connect to localhost/127.0.0.1

col host 本地 led style 本地計算機 str 異常 需要 連接本地web服務器,在模擬器不能連接到127.0.0.1。 Android把127.0.0.1當作模擬器本機,而把計算機本地IP設為10.0.2.2,需要把需連接本地計算機web服務地址改為:ht

zbb20170811 mysql遠程連接報錯: Host * is not allowed to connect to this MySQL server,解決方法

pri oca 軟件 密碼 修改 allow 服務器 mysql遠程連接 查詢 解決此問題有以下2個方法: localhost改成% 1.進入mysql的BIN目錄 註:root為管理員用戶名,password為用戶root的密碼: mysql -u root -p

連接mysql時報:message from server: "Host '192.168.76.89' is not allowed to connect to this MySQL server

conn hang 方案 mysql ges fec 它的 0.00 數據 處理方案: 1、先用localhost方式連接到MySQL數據庫,然後使用MySQL自帶的數據庫mysql; use mysql; 2、執行:select host fro

解決Navicat 出錯:1130-host . is not allowed to connect to this MySql server,MySQL

ror bin mysq pack error: ace lac define 出錯 1. 改表法。 可能是你的帳號不允許從遠程登陸,只能在localhost。這個時候只要在localhost的那臺電腦,登入MySQL後,更改 "mysql" 數據庫裏的 "user" 表

Host '192.168.1.21' is not allowed to connect to this MySQL server

遠程 進入 user cal rem 裏的 mysq his local 報錯:1130-host ... is not allowed to connect to this MySql server 解決方法: 1。 改表法。 可能是你的帳號不允許從遠程登陸,只能

解決Host 'xxx' is not allowed to connect to this MySQL server

serve 文章 輸入密碼 連接 表示 user con 命令 自己的 問題描述: 本地主機連接到服務器上的mysql時報錯:Host ‘xxx‘ is not allowed to connect to this MySQL server; 服務器配置;windows s

Mysql連接報錯:1130-host ... is not allowed to connect to this MySql server如何處理

nmp mage htm 庫服務器 strong 所在 conn bsp -1   這個問題是因為在數據庫服務器中的mysql數據庫中的user的表中沒有權限(也可以說沒有用戶),下面將記錄我遇到問題的過程及解決的方法。   在搭建完LNMP環境後用Navicate連接出錯

Host 'XXX' is not allowed to connect to this MySQL server解決方案

xxxxx div mysql用戶 用戶 xxxxxx 設置 update ant tools 如何允許遠程連接mysql數據庫呢,操作如下: 首先登錄賬號 mysql -uroot -p 使用mysql用戶 us

遠程登陸mysql報錯:ERROR 1130 (HY000): Host '10.0.0.8' is not allowed to connect to this MySQL server

image code 再次 light 解決辦法 allow this 解決 ror 問題原因:在數據庫遷移到mysql主機後遠程登陸mysql報錯: ERROR 1130 (HY000): Host ‘10.0.0.8‘ is not allowed to connec