Firewall setting to connect to the localhost on macOS with iOS device
I have local server using MAMP.
I can access the local website via localhost, localhost:80,(private IP) and (private IP):80 where my privateIP is 192.168.x.x.
Then I try to connect the local website with my iPad using internet sharing via wifi and it failed. None of the four address above did not work. Oh, of course I used (my Mac Name).local:80 syntax instead.
I found the culprit, that is firewall setting because it worked fine when I turn off firewall of macOS.( At that time, I can accessed to the website via (private IP):80, and can't connected it via (my Mac Name).local:80. It's a tiny issue and doesn't matter.)
What I want to know is if it is possible to access localhost with iOS while activating some part of function of macOS's firewall. And if it is possible, how to do that?
I tested by myself turning on and allowing all options in the firewall setting but it failed. Only turning off the 'firewall' itself worked. So I suspect I have to add something in the 'allow incoming connection' pane.
Thanks for your advice.
MacBook Pro with Touch Bar