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?
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?
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