For example
https://192.168.1.136:8081/ works fine
But if I try to access
https://192.168.1.136/ Error - The site can't be reached.
What are the ways to access it without a port in URL ?
Assign port 80 instead of 8081 will work.
Update application.properties
in /src/main/resources/
with
server.port=80
Alternatively you may also set server.port
as system property using command line option to jvm -Dserver.port=80
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.