CSDreamer
V2EX  ›  Java

spring boot why not running at port 8080?

  •  
  •   CSDreamer · Mar 30, 2017 · 3262 views
    This topic created in 3521 days ago, the information mentioned may be changed or developed.

    默认配置启动 spring boot ,却没有运行在 8080 端口上?实在吊诡! spring boot 的版本为 1.5.2.RELEASE ,求解!!!

    7 replies  •  2017-10-01 16:30:45 +08:00
    xialdj
    xialdj
    Mar 30, 2017 via iPhone
    1
    默认不在 8080 就不在 8080 呗 然后呢 自己不能改配置???
    zonghua
    zonghua
    Mar 30, 2017
    2
    贴上你的 properties 或者 yml
    zonghua
    zonghua
    Mar 30, 2017
    3
    刚才用 http://start.spring.io/ 创建了一个 demo ,依然还是 8080 端口啊
    LeeSeoung
    LeeSeoung
    Mar 31, 2017
    5
    贴出你的配置
    mosliu
    mosliu
    Mar 31, 2017
    6
    # Server settings
    server:
    port: 80

    自己指定呗
    jack80342
    jack80342
    Oct 1, 2017
    7
    翻译了最新的 Spring Boot 2.0 的英文文档,https://www.gitbook.com/book/jack80342/spring-boot/details
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1247 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 17:35 · PVG 01:35 · LAX 09:35 · JFK 12:35
    ♥ Do have faith in what you're doing.