n punctuation">{</span>server.port<span class="token punctuation">}</span>/eureka/
<span class="token key atrule">spring</span><span class="token punctuation">:</span>
  <span class="token key atrule">application</span><span class="token punctuation">:</span>
    <span class="token key atrule">name</span><span class="token punctuation">:</span> knife4j<span class="token punctuation">-</span>gateway<span class="token punctuation">-</span>server
</code></pre></div><p>定义注册中心访问地址，端口号