(This post is old ik but for Googlers) Though not as streamlined or secure as the Reverse Port Forwarding that the chrome://inspect tools give us for Android, I found ngrok is free and seems to work well enough to get a localhost server onto a remote Apple device (TL;DR it's a tunnel). Since it's not as secure, I'd recommend at least using their OAuth setup with restricted emails and only port forwarding for a short time when you need to, but I'm also not a networking engineer so I can't confidently comment on how secure it really is.