The LAN address answer, and where it stops
The usual next step is to bind the dev server to all interfaces and open your machine's address on the phone, something like http://192.168.1.14:3000. It is free and it often works, so it is worth saying exactly where it stops rather than dismissing it.
The same network
Typing the address
Plain HTTP
That last one is the one that bites, because it is not a matter of taste. Browsers restrict a set of capabilities to what the specification calls a secure context, and treat localhost as one while a plain-HTTP LAN address is not. On the phone that means the features most worth testing on a phone are the ones that will not run: geolocation, camera and microphone, and service workers. Chrome documents HTTPS among its installability criteria too, so the install prompt goes with them. And an HTTPS page cannot fetch an HTTP LAN address at all, because that is mixed content.
One command, and something to scan
$ zgrok http 3000 --qr
The banner prints the public URL and, under it, a QR code drawn with Unicode half-block characters so it stays square in a terminal. Point the phone's camera at it and open the link. Nothing gets typed, and the phone does not have to be on your network at all, because it is reaching a public address rather than yours.
The URL is HTTPS with a real certificate, so the phone is in a secure context and the capabilities above are available to test. That is the whole difference between this and the LAN address, and it is why the answer is a tunnel rather than a better way to type an IP.
Devtools you do not have on the phone
The hard part of phone testing is not reaching the site, it is seeing what happened after you tap. Remote debugging works and costs you a cable, a setting and a desktop browser that agrees to talk to that phone.
Unless you turn it off, a tunnel runs a request inspector on your own machine and prints its address in the same banner:
Inspect: http://127.0.0.1:4040
The network tab you could not open
Without picking the phone back up
One thing your framework may object to
The Host header is passed through unchanged, so your dev server sees the tunnel hostname rather than localhost.
403 Blocked request naming the host and the config key to add.How long the address lasts
On Free the assigned address belongs to that run: stop the tunnel and start it again tomorrow and the name is rewritten, so yesterday's QR code no longer points at your machine. For a testing session that is usually fine, because you scan it at the start.
If you want the same address on the phone every day, or you are handing the link to a tester who will come back to it, a tunnel name you choose inside your project on Pro survives restarts:
$ zgrok http 3000 --qr --subdomain myapp