I ran a test myself and had no issues with accessing from a phone on the same 
network.

Note that one tool you can use to check is not an issue with local network 
configuration is:

    traceroute -p 8000 A.B.C.D

If you have also changed any network access points recently, do be aware that 
some, especially if using a guess network, will prevent access between machines 
on the same sub net by default and you have to allow it in the router 
configuration.

Graham

> On 8 Jul 2025, at 09:11, Graham Dumpleton <[email protected]> wrote:
> 
> I presume you mean you are using mod_wsgi-express???
> 
> If yes the default should be to listen on all hosts.
> 
> add_option('all', '--host', default=None, metavar='IP-ADDRESS',
>         help='The specific host (IP address) interface on which '
>         'requests are to be accepted. Defaults to listening on '
>         'all host interfaces.’)
> 
> Try using:
> 
> —host A.B.C.D
> 
> Where A.B.C.D is the IP address of your Mac that you are using when accessing 
> it from another machine.
> 
> I got myself a new Mac mini just recently and haven’t even properly set it up 
> yet or even tried mod_wsgi-express on it. I will try later myself and see 
> what works.
> 
> Graham
> 
>> On 8 Jul 2025, at 09:02, Leann Kanda <[email protected]> wrote:
>> 
>> I've had a Flask website for a while that has served nicely off a mac mini 
>> using mod_wsgi.  Last year I had to get a new mini, which means new OS.  I 
>> have succeeded in using mod_wsgi-standalone to get the site to appear on 
>> that machine's localhost:8000 and if I call the local IP address:8000 from 
>> that machine.  But any other machine on the network gets "Problem loading 
>> page, Unable to Connect" if trying that local IP:8000.  My best 
>> understanding is that this is a firewall/permissions issue.  How do I 
>> convince a modern Mac that the apache created by mod_wsgi-standalone in a 
>> .venv should be allowed to talk to other machines on port 8000? 
>> 
>> (did check ApplicationFirewall and python3 is allowed connections.  More 
>> worrisome, if I turn Firewall OFF, it still doesn't work.)
>> 
>> Any pointers much appreciated.
>> Leann
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/modwsgi/e358fed9-bb48-4f15-b22b-f1d23c2aefe2n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/modwsgi/e358fed9-bb48-4f15-b22b-f1d23c2aefe2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/modwsgi/96728A2A-93E5-496C-82E2-E0AAA1301D49%40gmail.com.

Reply via email to