-
I want to run a simple ReactPHP TCP server on port 8082. I am not sure how to expose this port to computers outside the server. I'm using AWS and have allowed traffic from 8082 from anywhere to reach the server. I do want to also tie it to a domain if that makes sense. I want to be able to curl domain.com:8082 from my local terminal and have it hit my ReactPHP server. I do have apache running on the server and am not sure what to do to be able to achieve this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Got this sorted, didn't need to use apache, just needed to set the application code on the server to listen on the internal private ipv4 address of the server. I can now access it from outside. |
Beta Was this translation helpful? Give feedback.
Got this sorted, didn't need to use apache, just needed to set the application code on the server to listen on the internal private ipv4 address of the server. I can now access it from outside.