简体   繁体   中英

Spring add :80 in redirection login

I have a login page and when I click in login it should be redirected to https://userlogged/ for example, but now it is redirected to https://userlogged:80/. Why spring put this 80 port and how can I remove it? Thank you in advance.

In the application.properties files you can change the port of the server

server.port=8080

The default port for webpages is 80 you can it manually you are using HTTPS secure HTTP request it use default post is 80 that is configured in browsers.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM