How do I access the local host through domain names and servers?

I have a server, but I don"t want to deploy my express service to the server yet, but I also want to access my local host through the domain name (this host does not have a public network ip).

is there any solution?

Feb.25,2022

you can purchase a tunnel with a custom domain name from natapp. As long as it is on the same local area network, mobile phones can also access it, which can be used for Wechat web page development

.

you can also modify the etc/hosts file under the system disk
add a sentence at the end of the file:
127.0.0.1 www.sifou.com
if your express server address is localhost:3000
access www.sifou.com:3000

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bc960b-38d1f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bc960b-38d1f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?