mac에서 port forwarding 설정
intellij 에서 tomcat 80 포트를 돌리려니 실행이 안된다.
root 로 실행하는 방법을 알아보다 그냥 8080 포트를 80 포트로 forwarding 하기로 결정.
System Preference - Sharing - Remote Logon 체크하면 sshd 이 돈다.
이 상태에서 port forward.
sudo ssh -L 127.0.0.1:80:127.0.0.1:8080 -N 127.0.0.1
root 로 실행하는 방법을 알아보다 그냥 8080 포트를 80 포트로 forwarding 하기로 결정.
System Preference - Sharing - Remote Logon 체크하면 sshd 이 돈다.
이 상태에서 port forward.
sudo ssh -L 127.0.0.1:80:127.0.0.1:8080 -N 127.0.0.1
댓글
댓글 쓰기