Skip to content

Opening to local network does not work #1306

@Ken-vdE

Description

@Ken-vdE

Description:

When following the steps given here: https://laravel.com/docs/9.x/valet#sharing-sites-on-your-local-network, sharing on my local network still does not work.

Steps To Reproduce:

  • https://laravel.com/docs/9.x/valet#sharing-sites-on-your-local-network
  • Firewall disabled (MacOS)
  • Go to URL using my local IP address as given by the example in the docs (in my case http://192.168.1.133/cool.test/). Also tried using other device on same network.
  • Get a 404 page with <title>Valet - Not Found<title> only containing the words '404 - Not Found' (probably served by function show_valet_404() in server.php).
  • I've also retried after updating everything:
    • brew upgrade
    • composer self-update
    • composer global update
    • valet install
    • edit valet.conf
    • valet restart
    • etc.

Diagnosis

I think Valet's php script does not understand that URI with the IP address prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions