我要更改服务器端口。
我已经编写了一个应用程序属性文件:https://github.com/Kifsif/reusable/tree/master/src/main/resources
其中:
{start=[apple], next=[bulb]}
{start=[and], next=[bulb]}
{start=[all], next=[bulb]}
{start=[apple], next=[bee]}
{start=[and], next=[bee]}
{start=[all], next=[bee]}
{start=[apple], next=[bell]}
{start=[and], next=[bell]}
{start=[all], next=[bell]}
但是我得到这个错误:
server.port=8083
如何从8083开始?
答案 0 :(得分:0)
它应该可以在8083上运行,但是如果它抱怨8080则将其杀死,因此它将停止对8080进行计算,并且如果有任何错误,它将与8083有关。
以管理员身份运行CMD
netstat -a -o -n
在8080上找到进程的PID
使用命令“ taskkill / F / PID xxxx”将其杀死
https://www.youtube.com/watch?v=KdH6MvnGNpU&ab_channel=Seeofgames