개발

Geo Location In Java 2. MaxMind GeoLite2

ikkison 2026. 2. 11. 11:18

1. 회원가입

1.1. MaxMind 홈페이지 이동

https://maxmind.com

 

Industry leading IP Geolocation and Online Fraud Prevention | MaxMind

Create smarter, safer digital experiences with accurate data Foundational GeoIP®, proxy, and fraud intelligence for online businesses Powered by machine learning Trusted by developers Made simple for the enterprise Digital automation, safety, and securit

www.maxmind.com

 

 

1.2. 개발자 포탈 이동

 

https://dev.maxmind.com

 

Industry leading IP Geolocation and Online Fraud Prevention | MaxMind

Create smarter, safer digital experiences with accurate data Foundational GeoIP®, proxy, and fraud intelligence for online businesses Powered by machine learning Trusted by developers Made simple for the enterprise Digital automation, safety, and securit

www.maxmind.com

 

 

1.3. 회원가입

밑에 파란색 "SIng up for a GeoLite account to get free IP geolocation data"  버튼 클릭

양쪽에 있는 버튼 아님!

 

그 다음 회원정보를 작성하여 가입 진행.

 

 

1.4. 이메일 인증

Continue 를 클릭하면 이메일이 발송될것이다.

 

받은 이메일에서 안내하는 follow link 를 클릭하여 이메일 인증 진행.

 


1.5. 비밀번호 초기화

그다음, 비밀번호 초기화 이메일을 받으면 이제 비밀번호를 설정하면 된다.

 


2. 로그인

2.1. 이메일

Username 이 아닌 이메일 을 입력해야한다.

 

2.2. 비밀번호

 

 

 

2.3. 인증코드

이메일 OTP 인증을 진행해야한다.

이 화면이 보인다면 OTP 이메일이 발송되었을꺼다.

 

이메일 OTP확인

 


3. 라이센스 키 발급

3.1. 로그인

 

3.2. 라이센스 관리 페이지 이동

좌측 메뉴에서 "Manage license keys" 클릭하여 이동

 

화면 중앙 "Generate new license key" 버튼 클릭하여 생성 페이지 이동

 

3.3. 라이센스 생성

License key description 작성

하단 "Confirm" 버튼 클릭 하여 생성 

 

 

3.4. 라이센스 확인

라이센스 생성에 성공하면 가운데 라이센스 키 값 확인

클립보드 복사 버튼이 있으니 편리하게 복붙하면 된다.

 


4. DB 다운로드 및 의존성 확인

4.1. DB 다운로드

이제, 좌측 메뉴에서 "Download files" 클릭하여 DB 다운로드 페이지 이동

 

Database 는 GeoLite City, GeoLite Country 등 원하는 DB를 찾는다.

 

선택한 Database 행의 3번째 열의 "Download GZIP" 을 클릭하여 직접 다운로드를 받으면 된다.

 

이제 MaxMind 의 .mmdb 파일을 다운로드 받았으니 로컬에서 호출하여 사용할 수 있다.

왠만하면 "Download SHA256" 도 함께 다운로드 받는걸 추천한다. 개발, 운영 시 checksum을 하는게 모두의 불행 1개를 제거할 것이다....

 

4.2. 의존성 확인

같은 행의 2번째 열을 보면 "Format: GelIP2 Binary(.mmdb) (APIs)" 에서 APIs 를 클릭하여 이동한다.

 

개발자 포탈의 minFraud 페이지로 이동될 것이다.

 

이제 도입할 client app 의 언어를 선택하여 의존성추가or설치 방법을 확인한다.

 

 

4.3. 언어별 API 호출 확인

그 다음, 밑으로 내리면 client app 개발 언어별로 사용방법이 있다.