여러 아이피를 가지고 서버를 구동할 수도 있지만, 하나의 아이피를 사용해서 여러 콘솔을 띄울 수 있다.

위에서 로그를 보면, 중간에 DarkRift.Server.Plugins.HealthCheck.HttpHealthCheck.Loaded 어쩌구가 있다. 이 에러는 HealthCheck 플러그인과 상관관계가 있음을 알 수 있다.
* HealthCheck 공식 문서 가이드
https://www.darkriftnetworking.com/DarkRift2/Docs/2.10.1/advanced/health_checks.html
Health Checks
Health Checks Health checks provide an indication as to whether a server is working and is deemed 'healthy' by a system. They can be used to automatically restart failed services, ensure a certain deployment size or generally get state about an application
www.darkriftnetworking.com
결론은 내가 로직서버, DB서버 등 여러 콘솔창을 하나의 아이피에서 띄우려면, 모든 server.config 파일을 수정해야 한다.
아마 처음 server.config 파일을 열어보면 이런식으로 되어 있다.
<plugins loadByDefault="true">
<!-- Example:
<plugin type="Sniffer" load="false" />
-->
</plugins>
이 부분을
<plugins loadByDefault="true">
<plugin type="HttpHealthCheck" load="true">
<settings
port="1234"
host="your host"
path="/health" />
</plugin>
</plugins>
이렇게 바꿔준다. (예시)
마지막으로 server.config 에서 가장 아랫 부분의 값을 수정해주자.
포트를 5000과 5001로 설정해서 같은 콘솔 파일을 두번 실행해 보았다.
<listeners>
<listener name="myServer" type="BichannelListener" address="abc.def.hij.klm" port="5001">
<settings noDelay="true" />
</listener>
</listeners>
그리고나서 실행하면 해결된다.

댓글