The Web Console server could not be started. Possible cause: another server is already running at http://192.168.91.1:8082
Root cause: Exception opening port "8082" (port may be in use), cause: "java.net.BindException: Address already in use: NET_Bind" [90061-214]
jpa 학습을 위해 h2를 사용하려고 하는데 ./h2.bat을 입력하니 위와 같은 오류가 발생했다.
cmd를 관리자 권한으로 실행하여 8082 포트 pid를 찾아서 taskkill을 해보았으나 같은 오류가 발생했다.
java -cp h2-2.1.214.jar org.h2.tools.Server -webPort 8083
h2 디렉토리에서 다음과 같이 명령어를 실행하여 문제를 해결했다.