diff --git a/README.md b/README.md
index 6822683..38173ab 100644
--- a/README.md
+++ b/README.md
@@ -275,6 +275,8 @@ This problem is usually resolved by upgrading Valet and running `valet install`
composer global update
valet install
+
+If you are seeing a 502 (Bad Gateway) error after about 30 seconds or so, your request is likely timing out. You may need to solve a performance issue with your own code.
diff --git a/phpmon/IAP/InternetAccessPolicy.plist b/phpmon/IAP/InternetAccessPolicy.plist
index 5d5a97c..bdcfa16 100644
--- a/phpmon/IAP/InternetAccessPolicy.plist
+++ b/phpmon/IAP/InternetAccessPolicy.plist
@@ -10,6 +10,22 @@
https://github.com/nicoverbruggen/phpmon
Connections
+
+ IsIncoming
+
+ Host
+ github.com, api.github.com
+ NetworkProtocol
+ TCP
+ Port
+ 443
+ Relevance
+ Essential
+ Purpose
+ PHP Monitor directly invokes Homebrew which contacts GitHub. This happens when PHP Monitor asks for more information about the PHP formula to determine which version of PHP you've got running.
+ DenyConsequences
+ If you deny these connections, PHP Monitor might not be able to complete its preset set of instructions, causing version switching to fail.
+
IsIncoming
@@ -46,15 +62,15 @@
IsIncoming
Host
- github.com, api.github.com
+ formulae.brew.sh
NetworkProtocol
TCP
Port
- 443
+ 80, 443
Relevance
Essential
Purpose
- PHP Monitor directly invokes Homebrew which contacts GitHub. This happens when PHP Monitor asks for more information about the PHP formula to determine which version of PHP you've got running.
+ PHP Monitor directly invokes Homebrew which contacts the Homebrew API. This happens when PHP Monitor asks for more information about the PHP formula to determine which version of PHP you've got running.
DenyConsequences
If you deny these connections, PHP Monitor might not be able to complete its preset set of instructions, causing version switching to fail.