Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to run in the browser #9

Open
erickvasilev opened this issue Sep 15, 2023 · 0 comments
Open

Not able to run in the browser #9

erickvasilev opened this issue Sep 15, 2023 · 0 comments

Comments

@erickvasilev
Copy link

Hello, I'm following the installation instructions until it able to running from the terminal:

root@ip-172-6-1-8:/var/www/surveyjs-php# composer start
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
> php -S localhost:8000 -t public
[Thu Sep 14 23:36:26 2023] PHP 8.1.23 Development Server (http://localhost:8000) started

I already open the port 8000

Nmap scan report for localhost (127.0.0.1)
Host is up (0.000068s latency).
Not shown: 997 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
443/tcp  open  https
8000/tcp open  http-alt

but fail to connect when accessing from the browser, ex: 123.456.789:8000
is this installation require nginx or apache in the server to run?

I tried by changing "localhost" to my server IP address in the composer.json, and tried by changing the port to 80, also not working:

> php -S 123.456.789:8000 -t public
[Thu Sep 14 23:50:00 2023] Failed to listen on 123.456.789:8000 (reason: Cannot assign requested address)
Script php -S 13.212.138.168:8000 -t public handling the start event returned with error code 1

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant