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/0FDB011D-7165-4829-BE9A-BAED2A75EBB3%40gmail.com.