inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)

API Gateway - Route 처리

getRemoteAddr() is not supported 해결

552

탈룰라
0

getRemoteAddr() is not supported
뜨시는 분들은
 
userService.WebSecurity.configure 확인해보세요
포트포워딩 안돼있으면, 원래 개인 PC는
IP가 계속 바뀌거든요.
@Override
protected void configure(HttpSecurity http)

....
http.authorizeRequests().antMatchers("/**")
.hasIpAddress("220.xxx.xxx.xxx")
...

답변 1

0

june0

감사합니다 :)