With pinggy.io you can share your Spring Boot server from localhost with just a single command. Replace the port 8080 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.