#How to launch Spring application on public IP

1 messages · Page 1 of 1 (latest)

thin venture
#

I'm trying to upload my website so my friends can see it. I've configured server.address and server.port in my application.properties so that it's using my public IP and the port I want. I also opened said port following the guide below.
https://learn.microsoft.com/en-us/sql/reporting-services/report-server/configure-a-firewall-for-report-server-access?view=sql-server-ver16

But when I tried launching, I got this error. I'm new to this, so maybe I'm missing something.

See how to manually configure Windows Firewall to allow access to Report Server applications and published reports by opening necessary ports.

hasty coralBOT
#

<@&1004656351647117403> please have a look, thanks.

fair goblet
#

That's an error from your kernel saying it cannot bind to whatever address and port you specified. Generally you see this on Unix's when trying to bind to port < 1000 without being root.

muted sphinx
#

Either that or the port is already used by another process

thin venture
#

I've tried 3 ports already (8081, 5050, 4567), and none of them have worked. I've tried finding a different way to open a port online, but they all follow the exact same steps that don't work for some reason. It might be because I'm using windows 11 instead of 10. The error I get from Spring is exactly the same as using a port that I haven't attempted to open.

#

I have my VPN disabled as well

frosty ivy
#

wait

#

your public ip?

#

no you should bind to 0.0.0.0

#

or localhost