Skip to content

"sail share" command does not work correctly with public HTTPS link #809

@jevouslue

Description

@jevouslue

Sail Version

1.44.0

Laravel Version

12.21.0

PHP Version

8.4.10

Operating System

macOS

OS Version

15.5

Description

When using the sail share command in Laravel Sail, the public HTTPS link does not work as expected.
Accessing the generated *.laravel-sail.site link in a browser results in the following error:

This site can’t be reached
xxxxxxxx.laravel-sail.site refused to connect.

Image

It seems that the issue may be on the laravel-sail.site server side.

Additionally, I noticed that while the latest version of Expose is 3.0.3, the sail share command currently uses version 2.6.2 via the beyondcodegmbh/expose-server Docker image.

If possible, please consider updating the container to use the latest version of Expose and investigate the issue with the laravel-sail.site public server.

Thank you for your support!

Steps To Reproduce

This issue is caused by just running sail share

As a workaround, I updated the .env file with the following settings, and the share functionality worked correctly:

SAIL_SHARE_TOKEN=【my token】
SAIL_SHARE_SERVER_PORT=80
SAIL_SHARE_SERVER_HOST=sharedwithexpose.com

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions