일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- learning
- mariaDB
- ai
- Numpy
- Linux
- java
- framework
- centos
- DeepLearning
- 자바
- 함수
- Analysis
- Security
- interface
- javascript
- Pattern
- error
- SSH
- data
- Spring
- Python
- Github
- Deep
- Web
- db
- git
- mysql
- Server
- 인공지능
- LIST
- Today
- Total
목록IPv6 (3)
PostIT
From Digital OceanFrom Digital Ocean2IntroductionOne of the first lines of defense in securing your cloud server is a functioning firewall. In the past, this was often done through complicated and arcane utilities. There is a lot of functionality built into these utilities, iptables being the most popular nowadays, but they require a decent effort on behalf of the user to learn and understand th..
-로그인 접속자의 아이피를 요청하는 메소드를 통해서 에러메세지가 발생되었다. 요청을 조건 안에서 찾을 수 없다는 메세지로 해석했는데 찾아보니, 밑의 리스너를 넣어주면 해결이 된다.문제는 IPv6로 출력되는 값을 IPv4로 전환해야되는데, 이클립스 내에 설정을 바꾸는 것으로 해결이 되는것인지, Java로 설정을 해줘야하는지를 알아봐야할 것 같다. SolutionTo fix it, register a RequestContextListener listener in web.xml file.File : web.xml org.springframework.web.context.request.RequestContextListener
[Tomcat] JAVA Request.getRemoteAddr() 호출 시, IPv4가 아닌 IPv6 주소를 반환하는 문제http://ooz.co.kr/138개발&컴퓨터/JAVA & SPRING2015.01.22 08:36 JSP 프로그래밍을 하다 보면 클라이언트의 아이피 주소를 가져와야 하는 코드를 분명히 작성하게 될 텐데요.클라이언트의 IP주소를 가져오는 구문은 다음과 같습니다. Request.getRemoteAddr() Request 객체의 getRemoteAddr() 메서드를 호출합니다.결과값을 찍어 보시면 어떠신가요? 만약 로컬 PC로 디버깅 상태로 테스트하셨다면 127.0.0.1 값을 반환 받으셨나요? 아마 특별한 경우가 아니라면 방금 말씀드린대로 기존 IP주소 체계인 IPv4 방식의 IP값..