이해도 | 초보자 |
---|---|
게임버전 (JE) | 1.20.1 |
게임버전 (BE) | 관련없음 |
안녕하세요 고수님들 도와주세요~~
구동하면 아래 이런 메세지가 뜹니다.
포트체커로 포트는 잘 열여있는것으로 되어 있고
서버ip설정안하고 로컬호스트로는 연결이 잘되나 외부 연결작업을 하다보니 에러가 납니다.
server.properties 파일에서 sever ip를 제거하면 오류메세지는 사라집니다.
다만 외부접속에 필요한 도메인 연결을 구축하려다 보니 서버ip를 내 ip를 넣는 작업이 필요합니다
윈도우 방화벽에서 인바운드 아웃바운드 포트 추가하였습니다
Starting org.bukkit.craftbukkit.Main
System Info: Java 21 (Java HotSpot(TM) 64-Bit Server VM 21.0.2+13-LTS-58) Host: Windows 11 10.0 (amd64)
Loading libraries, please wait...
[10:47:03 INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[10:47:04 INFO]: Loaded 1174 recipes
[10:47:04 INFO]: Loaded 1271 advancements
[10:47:06 INFO]: Starting minecraft server version 1.20.4
[10:47:06 INFO]: Loading properties
[10:47:06 INFO]: This server is running Paper version git-Paper-398 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: b700460)
[10:47:07 INFO]: Server Ping Player Sample Count: 12
[10:47:07 INFO]: Using 4 threads for Netty based IO
[10:47:07 WARN]: [!] The timings profiler has been enabled but has been scheduled for removal from Paper in the future.
We recommend installing the spark profiler as a replacement: https://spark.lucko.me/
For more information please visit: https://github.com/PaperMC/Paper/issues/8948
[10:47:07 INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 3 worker threads, and gen parallelism of 3 threads
[10:47:07 INFO]: Default game type: SURVIVAL
[10:47:07 INFO]: Generating keypair
[10:47:07 INFO]: Starting Minecraft server on 221.165.92.225:25565
[10:47:07 INFO]: Using default channel type
[10:47:07 INFO]: Paper: Using Java compression from Velocity.
[10:47:07 INFO]: Paper: Using Java cipher from Velocity.
[10:47:08 WARN]: **** FAILED TO BIND TO PORT!
[10:47:08 WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[10:47:08 WARN]: Perhaps a server is already running on that port?
[10:47:08 ERROR]: Encountered an unexpected exception
java.lang.IllegalStateException: Failed to initialize server
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1130) ~[paper-1.20.4.jar:git-Paper-398]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.4.jar:git-Paper-398]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
[10:47:08 ERROR]: This crash report has been saved to: C:\Users\3pc\OneDrive\바탕 화면\server2\.\crash-reports\crash-2024-01-25_10.47.08-server.txt
[10:47:08 INFO]: Stopping server
[10:47:08 INFO]: Saving players
[10:47:08 INFO]: Saving worlds
[10:47:08 INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
> 2024-01-25 10:47:08,247 Log4j2-AsyncAppenderEventDispatcher-1-Async WARN Advanced terminal features are not available in this environment
[10:47:08 INFO]: Flushing Chunk IO
[10:47:08 INFO]: Closing Thread Pool
[10:47:08 INFO]: Closing Server
NoEul
2024.01.25일반적으로
server-ip
옵션은 서버 도메인 이름과 관련없이, 서버 소켓 bind에 사용될 IP 주소를 적는 란이므로, 이에 대해 자세히 아는 것이 아니라면 굳이 적지 않아도 서버가 자동으로 기본값인0.0.0.0
으로 설정하므로 상관 없어욘