new user here on the AWS C9 environment. I’m just trying to get a bit of simple PHP to run in browser…
<?php echo "Hello World";
Using Run -> Run With -> PHP (built-in web server), I get the following output…
Starting PHP built-in web server, serving https://188.8.131.52/paul.php. PHP 5.6.32 Development Server started at Sun Dec 3 19:43:53 2017 Listening on http://0.0.0.0:8080 Document root is /home/ec2-user/environment Press Ctrl-C to quit.
I can’t reach the suggested page in either the c9 console preview or in a standard browser. Have tried http/https, specifying port 8080 etc - just get no response. I’ve even opened up the http/https ports for the security group on the cloud9 provisioned instance.
What am I doing wrong?