Cecil: cecil serve : localhost refused to connect

Describe the bug

Hello Arnaud,

With a simple install of Cecil when I started the server with cecil serve, I have this

image

I’m on Mac, I’ve stopped all my valet services to be sure of no interference.

I tried with others ports.

Nothing special for me in verbose mode and no log in .cecil

I appreciate if you can give me some advice 😉

PS : the build command works as expected

To reproduce

  1. create a new install
  2. Start the server with cecil serve
  3. error

Expected behavior

I wish to have a normal behaviour of cecil serve to show the modification I made.

Version

8

Operating System

MAC OS

Relevant log output

No log in .cecil folder

About this issue

  • Original URL
  • State: closed
  • Created 6 months ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Yes my bad. Everything is ok now. Thank you.

Hello,

Yes, now it works correctly. Thank you for your time Arnaud.

Last little thing, when I tried to update with brew, it answers this

image

Is there a propagation time ?

Sorry to generate more work for you.

The cecil serve command answers me “Server is not ready”

image

And in the log, I have this line :

sh: /Users/happytodev/Library/Application: No such file or directory

Another test I made. I tried cecil on windows and the server starts normally and the site is displayed.

So, I think it’s specific to MacOS.

Hope this help you to understand what’s wrong.

The Cecil serve command is based on the PHP built-in web server, so could you try to run the following command and tell me if http://localhost:8000 is available from your web browser?

php -S localhost:8000

It seems to work image