[H2 실행 에러] Sorry, remote connections ('webAllowOthers') are disabled on this server. 에러 해결 방법

jieunee·2021년 7월 7일
0

🆘 문제점
H2에서 table을 생성하기 위해 create 문을 작성하고 실행을 했더니

Sorry, remote connections ('webAllowOthers') are disabled on this server.

와 같은 에러가 발생했다.


💗 해결 방안
terminal에서 H2를 실행할 때
h2 -webAllowOthers 을 입력하고 실행해줘야 위와 같은 에러가 뜨지 않는다.

또한, 내 mac은 가끔 brew 명령어가 먹지 않는데 이 때는,
eval $(/opt/homebrew/bin/brew shellenv)
를 입력해주면 된다.

이렇게 하면 H2가 문제 없이 작동할 것이다. 🙂

profile
Back-End Developer 🌱

0개의 댓글