
حدد موقع أي عنوان IP إلى موقع مادي باستخدام زمن الوصول
أداة بسيطة تستخدم Globalping لتحويل عنوان IP إلى موقع فعلي بناءً على زمن الاستجابة.
تعرف على المزيد حول هذه الأداة ولماذا تم إنشاؤها في مدونتنا:
git clone https://github.com/jimaek/geolocation-tool
cd geolocation-tool
npm install && npm link
geolocate
docker run \
-e GLOBALPING_TOKEN=<optional_token> \
--name geolocation-tool \
--rm \
$(docker build -q .) \
-- <IP_ADDRESS> [OPTIONS]
يُنصح بتشغيل الأداة باستخدام رمز مميز للحصول على حد أعلى يبلغ 500 اختبار في الساعة.
ستقرأ هذه الأداة الرمز المميز من متغير البيئة GLOBALPING_TOKEN. إنه نفس المتغير الذي يستخدمه Globalping CLI.
احصل على رمز مميز مجاني من لوحة تحكم Globalping.
Resolve an IP. A default limit of 50 probes is set per phase.
USA has 4 phases. All other countries have 3 phases.
This means the total usage is going to be Phases * Limit.
So by default 200 for USA and 150 for the rest.
+30 for continent selection in phase 1.
geolocate 213.133.116.45
-L/--limit sets a higher limit of probes per phase.
This will improve accuracy, especially for cities but will consume lots of credits
geolocate 213.133.116.45 -L 200
Provide token explicitly
GLOBALPING_TOKEN=XXX geolocate 213.133.116.45
# geolocate 45.95.160.61
Geolocating 45.95.160.61...
Phase 1: Detecting continent...
Europe: 123.12 ms
Oceania: 172.49 ms
North America: 57.23 ms
South America: 93.96 ms
Asia: 167.03 ms
Africa: 257.46 ms
Best continent: North America (57.23 ms)
Phase 2: Detecting country...
Measuring from 50 probes...
[████████████████████████████████████████] 100.0% 50/50 - Best: US (0.01 ms)
United States: 0.01ms
Canada: 42.96ms
Best country: United States (0.01ms)
Phase 3: Detecting US state...
Measuring from 50 probes...
[████████████████████████████████████████] 100.0% 50/50 - Best: FL (0.26 ms)
Florida: 0.26ms
Illinois: 0.38ms
Oklahoma: 0.81ms
Best state: Florida (0.26ms)
Phase 4: Detecting city...
Measuring from 37 probes...
[███████████████████████████████████████░] 97.3% 36/37 - Best: Miami (0.01 ms)
Top 3 Locations:
─────────────────────────────────────────────────
1. Miami, Florida, USA 0.01 ms
2. West Palm Beach, Florida, USA 5.38 ms
3. Tampa, Florida, USA 5.80 ms
═══════════════════════════════════════════════════
SUMMARY
═══════════════════════════════════════════════════
Location: Miami, Florida, United States
Minimum Latency: 0.01 ms
Confidence: Very High
═══════════════════════════════════════════════════