Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Unable to access grav start page on Windows 10 local site

Started by Anwar Ajani 5 years ago · 2 replies · 687 views
5 years ago

I just started with adding IIS to my Windows machine then added PHP 7.4.15 and downloaded grav-admin package. I ran a script “php -S localhost:8000 system/router.php in command prompt, it says “PHP 7.4.15 Development Server (http://localhost:8000) started (The issue is it does not say Listening on localhost:8000 etc.) . What am I missing? When I go to "http://localhost" I get the Microsoft default page. But with port 8000 I get error saying this site cannot be reached. Any help to get grav started will be appreciated. Thanking you in advance. AA

5 years ago

@aaajani, I have no experience with IIS, but will add my 2 cents anyway...

You are starting 2 webservers: IIS and the webserver started by php -S localhost:8000 system/router. My guess is that IIS takes precedence. IIS works fine on port 80, but throws an error on port 8000. Probably because that port has not be defined.

Anyway, its just a guess...

Suggestion:
In this post, someone shows step by step how IIS + PHP has been setup. After solving an initial error, things run fine.

Try to follow the steps and see if it works for you. If not you might try Laragon which is said to work fine too.

It might be a good idea anyway to run you development on Apache, because most hosters run Apache.

last edited 03/03/21 by pamtbaau

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 16 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago