YOUR JAVA TECH COACH
Plan | Create | Deliver

3-Session Junior Developer Coaching Plan

  • Agile Mindset
  • Communication Skills
  • Team dynamics and how to survive them
  • Spring Boot Intro
  • Basic Design Patterns
  • Modern Engineerng Practice
  • Career Advice
  • How to get that next levele gig?
SUMMER 2025
Get a discount simply by making an enquiry: TECHLAYOFF

CONSULTANCY

Localhost DNS Woes – Attempt to Test Mobile-First Web – Mac OS Z

20 November 2025 No comments

3 minutes

488

Question about mobile phone testing for development:

Tale of Configuration HTTP with SSL

So I configured on my ancient now MBP with Homebrew HTTPD server with SSL. I have secured sites locally to 127.0.0.1 (localhost):

https://inye.peter.test/

https://zimbini.peter.test/

https://zinthathu.peter.test/

(Of course, these sites will not work – I’m meaning you. Dunny. 😉

So in reality they map to the WLAN WIFI

http://192.168.172.24:7010/ (inye)

http://192.168.172.24:7020/ (zimbini)

http://192.168.172.24:7030/ (zinthathu)

I can reach all of these on my localhost Firefox/Safari/Chrome. I created the SSL , mkcert yadda yadda, setup httpd-vhost.conf – beautiful blue skies: I see closed padlocks and confirmation that the above sites are secure. Fantastico!

Now, I want to use my iPhone and iPad to my test my websites, so I enter into the browser text panel any of these URLs:

https://inye.peter.test/

https://zimbini.peter.test/

https://zinthathu.peter.test/

That will not work, because it needs a local DNS(?), so I set up I thought dnsmasq* and I put in the configuration /usr/local/etc/dnsmasq.conf the following:

address=/.test/127.0.0.1

 

It does not work. I then tried using DeepSeek AI a suggestion in the dnsmasq.conf

address=/.peter.test/192.168.172.24

Why is this not working? Is it the firewall on Mac? No. Default MBP firewall is deactivated. Ah ha! Maybe the MacOSX DNS needs a reset.

sudo killall mDNSResponder

Tried to the access on the iPhone to the SSL link. Nothing. Nada.

Yes. I added to my iPhone WIFI connection a Manual DNS slot of 192.168.172.24 (my MBP’s IP address on the LAN)

Yes. My iPhone is on the same WIFI LAN.

And out of love. I have no idea. KEINE AHNUNG ABSOLUT-BALLS. This is where I need PLATFORM OPERATIONS (PlatOps). Damn. I don’t work there anymore where I can slack dem ras rastas!

How do you mobile UX guys actually test web apps. I used to sit next to many guys / gals who were fumbling around with 15 handsets once upon a time.

Available for Hire

By the way. If you want to a JAVA TECH COACH session, reach out to me. #JAVATECHCOACH

My name is Peter Pilgrim, Java Champion Principal Engineer, Lead Software Developer and I am looking for next contract engagement immediately – Outside IR35 preferred. Thinking of hiring permanently (well that’s an irony) then I can do that as well with the right people, culture and benefits.

#javachampion #TECHCOACH #java #kotlin #director #principalengineer #cloudnative #techlead

References

 

Hey all! Thanks for visiting. I provide fringe benefits to interested readers: checkout consultancy, training or mentorship Please make enquiries by email or
call +44 (0)7397 067 658.

Due to the Off-Payroll Working plan for the UK government, I am enforcing stricter measures on contracts. All potential public sector GOV.UK contracts engagements must be approved by QDOS and/or SJD Accounting. Please enquire for further information.