• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:16
CEST 13:16
KST 20:16
  • 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
Classic wins Code S Season 2 (2025)15Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6Code S RO8 Preview: herO, Zoun, Bunny, Classic7Code S RO8 Preview: Rogue, GuMiho, Solar, Maru3
Community News
Esports World Cup 2025 - Final Player Roster2Weekly Cups (June 16-22): Clem strikes back0Weekly Cups (June 9-15): herO doubles on GSL week4Firefly suspended by EWC, replaced by Lancer12Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson."2
StarCraft 2
General
Esports World Cup 2025 - Final Player Roster Classic wins Code S Season 2 (2025) Weekly Cups (June 16-22): Clem strikes back Weekly Cups (June 9-15): herO doubles on GSL week The SCII GOAT: A statistical Evaluation
Tourneys
EWC 2025 Online Qualifiers (May 28-June 1, June 21-22) WardiTV Mondays RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers [G] Darkgrid Layout
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady Mutation # 476 Charnel House
Brood War
General
bonjwa.tv: my AI project that translates BW videos BW General Discussion Who wrote this nonsense about Flash? BGH Auto Balance -> http://bghmmr.eu/ StarCraft & BroodWar Campaign Speedrun Quest
Tourneys
[BSL20] ProLeague Bracket Stage - WB Finals & LBR3 [Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - LB Round 4 & 5 [ASL19] Grand Finals
Strategy
I am doing this better than progamers do. Simple Questions, Simple Answers [G] How to get started on ladder as a new Z player
Other Games
General Games
Nintendo Switch Thread Path of Exile What do you want from future RTS games? Stormgate/Frost Giant Megathread Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread UK Politics Mega-thread Echoes of Revolution and Separation
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024 Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
How Pro Gamers Cope with Str…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 33078 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
Netherlands10340 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
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
Vietnam9015 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
Germany803 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
Vietnam9015 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
Wardi Open
11:00
#41
WardiTV297
OGKoka 203
Rex84
CranKy Ducklings31
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 285
OGKoka 203
Rex 84
Creator 42
StarCraft: Brood War
Sea 11385
Bisu 3684
Hyuk 2093
actioN 842
BeSt 420
EffOrt 308
Stork 272
Zeus 250
Mini 230
Light 151
[ Show more ]
PianO 111
ZerO 94
ToSsGirL 88
Mind 67
Rush 63
Snow 57
TY 38
JYJ35
soO 31
Bale 31
Backho 24
Icarus 13
Shinee 12
Yoon 10
scan(afreeca) 10
Sacsri 10
ajuk12(nOOB) 8
Noble 7
Hm[arnc] 6
Dota 2
XaKoH 474
BananaSlamJamma435
XcaliburYe339
Pyrionflax287
League of Legends
JimRising 699
Counter-Strike
olofmeister1930
shoxiejesuss1467
Stewie2K873
x6flipin558
Super Smash Bros
C9.Mang0294
Mew2King121
Other Games
singsing977
crisheroes301
B2W.Neo261
SortOf145
Lowko101
ZerO(Twitch)13
Organizations
Dota 2
PGL Dota 2 - Main Stream15106
PGL Dota 2 - Secondary Stream3714
StarCraft: Brood War
lovetv 13
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• LUISG 23
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RaNgeD 7
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt506
Upcoming Events
Monday Night Weeklies
4h 44m
Replay Cast
22h 44m
PiGosaur Monday
1d 12h
Replay Cast
2 days
The PondCast
2 days
Replay Cast
3 days
BSL: ProLeague
5 days
SOOP
5 days
Sparkling Tuna Cup
5 days
BSL: ProLeague
6 days
Liquipedia Results

Completed

Rose Open S1
2025 GSL S2
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.