• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 00:31
CET 06:31
KST 14:31
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!5$5,000+ WardiTV 2025 Championship4[BSL21] RO32 Group Stage3Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
Starcraft, SC2, HoTS, WC3, returning to Blizzcon! RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting
Tourneys
Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ Practice Partners (Official) [ASL20] Ask the mapmakers — Drop your questions
Tourneys
BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION [ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread YouTube Thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1660 users

[G] Simple Ping Test CMD file

Forum Index > SC2 General
Post a Reply
1 2 Next All
Vrtigo
Profile Joined October 2010
Australia31 Posts
Last Edited: 2013-07-24 06:19:46
July 22 2013 01:16 GMT
#1
Hi TL,

This is by no means anything exciting or new but something that I have found useful and would like to share. It is simply a CMD file that will ping all 4 of the SC2 battle.net servers in succession so that you can check your ping before deciding on a server to log in to.

I only made this because, living in Australia, I play on multiple servers. While the SEA server is okay for 1v1, depending on the time of day you can wait up to an hour in queue for team games. Unfortunately, internet in my area is pretty bad and pings to KR, NA and EU can be anywhere from 175 to 480 ms depending on internet load and time of day. I became annoyed by having to manually ping each server individually so made a CMD file to do it for me.

I decided to share this because I often see people asking how to check their latency and I am sure there are many other server-hopping people out there like myself.

To make this work simply copy the text in the spoiler tag below into notepad (or similar), click on File --> Save As --> File name: Pingtest.cmd --> Save as type: All Files --> click SAVE. Then, simply double click to see your ping. Your ping to each server is the line BEFORE the * * * that will appear when the hop times out.

+ Show Spoiler +

CD\
ECHO OFF
CLS
ECHO Testing Ping to battle.net servers in: Korea, SEA, NA and EU
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO KOREA server
tracert 211.234.110.1
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO SEA server
tracert 202.9.67.254
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO NA server 1/2
tracert 12.129.202.154
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO NA server 2/2
tracert 63.240.104.93
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO EU server 1/2
tracert 195.12.232.102
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO EU server 2/2
tracert 195.12.232.70
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO Ping test is complete. Press any key to exit.
PAUSE


NB:
1) Feel free to re-organise the file so that it pings servers closer to you first; it can take a while to sequentially ping ALL battle.net servers
2) If you only want to ping the first few servers simply press "pause" when you have had enough and scroll up to see the results. If you do not pause it will continually jump to the bottom as new pings are received.


I hope some of you find this useful.

GL HF!

-Vrtigo




EDIT: Changed the CMD file to ping the actual battle.net game servers and not the battle.net websites as it previously did. Thanks to both R1CH and qwyn for pointing that out to me.
Taefox
Profile Joined March 2010
1533 Posts
July 22 2013 01:21 GMT
#2
Very useful stuff for me as well ^_^ Thanks a lot
@taefoxy
voss
Profile Blog Joined September 2010
Australia146 Posts
July 22 2013 02:31 GMT
#3
Thanks for this,
just used it and found that my SEA ping is about the same as NA
BlackPanther
Profile Blog Joined April 2011
United States872 Posts
July 22 2013 02:34 GMT
#4
YESSSSSSSSSSSSSSSSSSSSSSSSSSSSS!!!!!!!!!!!

Thank you sir!
Mahanaim
Profile Joined December 2012
Korea (South)1002 Posts
July 22 2013 03:14 GMT
#5
Let's try!
Thanks!
Celebrating Starcraft since... a long time ago.
Fuchsteufelswild
Profile Joined October 2009
Australia2028 Posts
Last Edited: 2013-07-22 03:21:01
July 22 2013 03:20 GMT
#6
So what do I do if the only result I get is for SEA and all other requests (including trying to trace the SEA server) fail?
+ Show Spoiler +
KOREA server

Tracing route to kr.logon.battle.net [121.254.200.130]
over a maximum of 30 hops:

1 * * * Request timed out.
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * 214 ms 219 ms 1.213.105.245
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.

Trace complete.

NA server

Tracing route to us.battle.net [12.129.242.40]
over a maximum of 30 hops:

1 * * * Request timed out.
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.

Trace complete.

EU server

Tracing route to eu.battle.net [80.239.186.40]
over a maximum of 30 hops:

1 * * * Request timed out.
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.

Trace complete.

SEA server

Tracing route to sea.battle.net [202.9.66.38]
over a maximum of 30 hops:

1 * * * Request timed out.
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.

Trace complete.

Ping test is complete. Press any key to exit.
Press any key to continue . . .
ZerO - FantaSy - Calm - Nal_rA - Jaedong - NaDa - EffOrt - Bisu - by.hero - StarDust - Welmu - Nerchio - Supernova - Solar - Squirtle - LosirA - Grubby - IntoTheRainbow - Golden... ~~~ Incredible Miracle and Woongjin Stars 화이팅!
R1CH
Profile Blog Joined May 2007
Netherlands10341 Posts
July 22 2013 03:32 GMT
#7
This just measures the time to their webservers which are not in the same place as the game servers.
AdministratorTwitter: @R1CH_TL
TL+ Member
Qwyn
Profile Blog Joined December 2010
United States2779 Posts
July 22 2013 04:14 GMT
#8
Lol, I was going to tell you that you're tracing to their webservers and then I scroll down and R1CH already posted it.
"Think of the hysteria following the realization that they consciously consume babies and raise the dead people from their graves" - N0
Vrtigo
Profile Joined October 2010
Australia31 Posts
July 22 2013 07:35 GMT
#9
Argh darn, guess I was misinformed by the articles I read on how to ping servers. I have found I.P. addresses for Blizzard SC2 servers HERE so if I replace the web domains with those I.P. addresses then it should work as intended?

If so I will alter the text tomorrow for those who would find it helpful. I am assuming with 2 servers in both NA and EU you would automatically be connected to the one with the lowest ping?

Thanks,

-Vrtigo
Vrtigo
Profile Joined October 2010
Australia31 Posts
July 24 2013 08:30 GMT
#10
Have fixed the original post to go to actual gamer servers as opposed to webservers.

Does anyone know how SC2 decides which of the two EU / NA servers you get connected to? Is it based on ping or location?
Garnet
Profile Blog Joined February 2006
Vietnam9031 Posts
July 27 2013 01:59 GMT
#11
If I want to ping to the Dota 2 servers, do I just replace the IP adresses?
Ragnarork
Profile Blog Joined June 2011
France9034 Posts
Last Edited: 2013-07-27 09:58:23
July 27 2013 09:57 GMT
#12
On July 27 2013 10:59 Garnet wrote:
If I want to ping to the Dota 2 servers, do I just replace the IP adresses?


Assuming you find their gameserver's IP adress, yep.

A simple way to do that would be I think to start DotA, launch a game, and then start a cmd.exe in administrator mode.

Then, type "netstat -b" and look for the entries annotated dota.exe and "ESTABLISHED". IP adress would be in the 3rd column.
LiquipediaWanderer
Complain
Profile Joined October 2012
Israel29 Posts
Last Edited: 2013-07-27 10:50:35
July 27 2013 10:18 GMT
#13
when i open up the pingtest it says below every server : "tracert is not recognized as an internal or external command,operable program or batch file".

help please :D

edit: tried to run as an admin , same error.
Proseat
Profile Blog Joined February 2012
Germany5113 Posts
Last Edited: 2013-07-31 17:33:09
July 27 2013 15:54 GMT
#14
On July 27 2013 19:18 Complain wrote:
when i open up the pingtest it says below every server : "tracert is not recognized as an internal or external command,operable program or batch file".

help please :D

edit: tried to run as an admin , same error.

What Windows version are you on? Home or Pro? Maybe a PATH variable problem.

You could always use a free tool like the following instead. Just put each IP in the Host field and press Start, ping values are in the last four columns (Best, Avrg, Worst, Last).

http://winmtr.net/how-to/


Results for me from Berlin on Kabel D:

KR: 259 Best / 270 Avrg
SEA: 358 Best / 367 Avrg
NA1: 170 Best / 175 Avrg
NA2: 121 Best / 127 Avrg
EU1: 23 Best / 27 Avrg
EU2: 33 Best / 42 Avrg
The Rise and Fall of SlayerS -- a timeline: http://www.teamliquid.net/blogs/viewblog.php?id=378097
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
July 27 2013 17:11 GMT
#15
On July 27 2013 19:18 Complain wrote:
when i open up the pingtest it says below every server : "tracert is not recognized as an internal or external command,operable program or batch file".

help please :D

edit: tried to run as an admin , same error.


This may help you: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/tracert-is-not-recognised-as-an-internal-or/c8559ce6-122b-4d46-8d62-b266c1911f05?msgId=d1fbe781-11d0-4020-a991-5137aa21d6d1

Anyway, here's a revised script based on OP's one. Differences? Servers are stored as variables at the beginning, so it's easier to keep IPs up-to-date. Some spaces between servers. Nothing functional is changed, only readability.

+ Show Spoiler +


CD\
ECHO OFF

:: Server IPs stored as variables
SET KOREA_SERVER=211.234.110.1
SET SEA_SERVER=202.9.67.254
SET NA_SERVER1=12.129.202.154
SET NA_SERVER2=63.240.104.93
SET EU_SERVER1=195.12.232.102
SET EU_SERVER2=195.12.232.70
::

CLS

ECHO Testing Ping to battle.net servers in: Korea, SEA, NA and EU
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.

ECHO KOREA server
tracert %KOREA_SERVER%
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.

ECHO SEA server
tracert %SEA_SERVER%
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.

ECHO NA server 1/2
tracert %NA_SERVER1%
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.

ECHO NA server 2/2
tracert %NA_SERVER2%
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.

ECHO EU server 1/2
tracert %EU_SERVER1%
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.

ECHO EU server 2/2
tracert %EU_SERVER2%
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.

ECHO Ping test is complete. Press any key to exit.
PAUSE
Yrr
Profile Joined June 2012
Germany804 Posts
Last Edited: 2013-07-27 18:10:24
July 27 2013 18:09 GMT
#16
Works great, thx.

I have 60ms to EU, 200 to AM and 500 to KR from the south of Germany.
While AM is playable KR is definitely not.
MMR decay is bad, m'kay? | Personal Hero: TerranHwaiting
( bush
Profile Joined April 2011
321 Posts
July 27 2013 18:25 GMT
#17
Results are kinda sad for me ;/

350 ms to Korea, 400 to SEA, 200 to AM and 250 to EU
T_T
oo
effecto
Profile Joined February 2011
France142 Posts
July 27 2013 18:29 GMT
#18
Didn't know that, ver cool thank you !
Design - eddytritten.com
Executerror
Profile Joined January 2011
New Zealand28 Posts
July 27 2013 18:57 GMT
#19
Thanks for the script. Once it's pinging into asterisk, you can press Ctrl+C and reply "n" to Terminate batch job (Y/N)? This will save your time. From NZ ping. SEA 155ms, KR 204ms, NA 224/250ms, EU 335/344ms. Cheers.
Garnet
Profile Blog Joined February 2006
Vietnam9031 Posts
Last Edited: 2013-07-29 23:45:51
July 29 2013 23:45 GMT
#20
On July 27 2013 18:57 Ragnarork wrote:
Show nested quote +
On July 27 2013 10:59 Garnet wrote:
If I want to ping to the Dota 2 servers, do I just replace the IP adresses?


Assuming you find their gameserver's IP adress, yep.

A simple way to do that would be I think to start DotA, launch a game, and then start a cmd.exe in administrator mode.

Then, type "netstat -b" and look for the entries annotated dota.exe and "ESTABLISHED". IP adress would be in the 3rd column.

are "hg-in-f113:http" and "hkg03s16-in-f5:https" IP addresses? Cause that's what it shows for "dota.exe".
1 2 Next All
Please log in or register to reply.
Live Events Refresh
OSC
23:00
OSC Elite Rising Star #17
Liquipedia
LAN Event
18:00
Merivale 8: Swiss Groups Day 2
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nathanias 132
StarCraft: Brood War
Snow 164
Noble 50
zelot 49
Icarus 8
Dota 2
NeuroSwarm88
LuMiX1
League of Legends
JimRising 758
Super Smash Bros
hungrybox1250
Other Games
summit1g9914
WinterStarcraft436
C9.Mang0137
ViBE100
febbydoto15
fpsfer 1
Organizations
Other Games
gamesdonequick929
Counter-Strike
PGL158
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• practicex 27
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21109
League of Legends
• Stunt496
Other Games
• Scarra611
• Shiphtur117
Upcoming Events
The PondCast
4h 29m
LAN Event
9h 29m
OSC
16h 29m
Replay Cast
17h 29m
OSC
1d 6h
LAN Event
1d 9h
Korean StarCraft League
1d 21h
CranKy Ducklings
2 days
WardiTV Korean Royale
2 days
LAN Event
2 days
[ Show More ]
IPSL
2 days
dxtr13 vs OldBoy
Napoleon vs Doodle
BSL 21
2 days
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
2 days
Sparkling Tuna Cup
3 days
WardiTV Korean Royale
3 days
LAN Event
3 days
IPSL
3 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
3 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
4 days
Wardi Open
4 days
WardiTV Korean Royale
5 days
Replay Cast
6 days
Kung Fu Cup
6 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.