• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:03
CEST 22:03
KST 05:03
  • 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
Team TLMC #5: Vote to Decide Ladder Maps!0[ASL20] Ro8 Preview Pt1: Mile High15Team TLMC #5 - Finalists & Open Tournaments2[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon10
Community News
Artosis vs Ret Showmatch3Classic wins RSL Revival Season 20Weekly Cups (Sept 15-21): herO Goes For Four2SC2 5.0.15 PTR Patch Notes + Sept 22nd update257BSL 2025 Warsaw LAN + Legends Showmatch4
StarCraft 2
General
Storm change is a essentially a strict buff on PTR SC2 5.0.15 PTR Patch Notes + Sept 22nd update Code S RO4 & Finals Preview - Cure, Dark, Maru, Creator Why Storm Should NOT Be Nerfed – A Core Part of Pr Classic wins RSL Revival Season 2
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Prome's Evo #1 - Solar vs Classic (SC: Evo) Monday Nights Weeklies RSL: Revival, a new crowdfunded tournament series SC2's Safe House 2 - October 18 & 19
Strategy
Custom Maps
External Content
Mutation # 492 Get Out More Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense
Brood War
General
BW General Discussion Artosis vs Ret Showmatch Whose hotkey signature is this? [ASL20] Ro8 Preview Pt1: Mile High BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues [ASL20] Ro8 Day 2 [ASL20] Ro8 Day 1 [ASL20] Ro16 Group D
Strategy
Simple Questions, Simple Answers Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Liquipedia App: Now Covering SC2 and Brood War! Path of Exile Borderlands 3
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Big Programming Thread UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
[AI] JoCo is Eminem for com…
Peanutsc
Try to reverse getting fired …
Garnet
[ASL20] Players bad at pi…
pullarius1
Too Many LANs? Tournament Ov…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1444 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
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
Vietnam9029 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
Vietnam9029 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
Next event in 3h 57m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 175
IndyStarCraft 174
JuggernautJason154
NeuroSwarm 62
ForJumy 37
StarCraft: Brood War
ggaemo 190
Mini 172
firebathero 140
Dewaltoss 81
NaDa 11
Dota 2
qojqva4271
Dendi1683
Counter-Strike
ScreaM1303
pashabiceps451
byalli267
Stewie2K210
Foxcn59
Heroes of the Storm
Khaldor193
Other Games
Grubby3058
B2W.Neo277
C9.Mang088
Trikslyr72
Sick24
OptimusSC23
Organizations
StarCraft 2
angryscii 45
Other Games
BasetradeTV38
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• davetesta28
• Reevou 14
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• TFBlade986
• Shiphtur320
Other Games
• imaqtpie1642
Upcoming Events
PiGosaur Monday
3h 57m
LiuLi Cup
14h 57m
OSC
18h 57m
The PondCast
1d 13h
CranKy Ducklings
2 days
Maestros of the Game
3 days
Serral vs herO
Clem vs Reynor
[BSL 2025] Weekly
3 days
[BSL 2025] Weekly
3 days
BSL Team Wars
4 days
Wardi Open
5 days
[ Show More ]
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

2025 Chongqing Offline CUP
RSL Revival: Season 2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
Maestros of the Game
StarSeries Fall 2025
FISSURE Playground #2
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

Upcoming

IPSL Winter 2025-26
SC4ALL: Brood War
BSL 21 Team A
BSL Season 21
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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.