With pinggy.io you can share your Hugo server from localhost with just a single command. Replace the port 1313 with the port where your server is running.
Pinggy will give you a URL like https://ranlkfsbjkxry.a.pinggy.link
. Use this URL to access the server.