• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:56
CEST 03:56
KST 10:56
  • 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
Serral wins EWC 202535Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder9EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced50BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10Weekly Cups (July 14-20): Final Check-up0
StarCraft 2
General
Serral wins EWC 2025 The GOAT ranking of GOAT rankings Tournament Spotlight: FEL Cracow 2025 Classic: "It's a thick wall to break through to become world champ" Firefly given lifetime ban by ESIC following match-fixing investigation
Tourneys
LiuLi Cup Weeklies and Monthlies Info Sea Duckling Open (Global, Bronze-Diamond) TaeJa vs Creator Bo7 SC Evo Showmatch Sparkling Tuna Cup - Weekly Open Tournament FEL Cracov 2025 (July 27) - $10,000 live event
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune
Brood War
General
BW General Discussion Scmdraft 2 - 0.9.0 Preview [BSL 2025] H2 - Team Wars, Weeklies & SB Ladder Google Play ASL (Season 20) Announced Which top zerg/toss will fail in qualifiers?
Tourneys
[ASL20] Online Qualifiers Day 2 [ASL20] Online Qualifiers Day 1 [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
[G] Mineral Boosting Muta micro map competition Does 1 second matter in StarCraft? Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Beyond All Reason Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok)
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
Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread Canadian Politics Mega-thread Stop Killing Games - European Citizens Initiative
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread [\m/] Heavy Metal Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
ASL S20 English Commentary…
namkraft
The Link Between Fitness and…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Customize Sidebar...

Website Feedback

Closed Threads



Active: 572 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
Vietnam9021 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
Vietnam9021 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 8h 4m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 229
Nina 169
RuFF_SC2 82
StarCraft: Brood War
Calm 10133
Barracks 2096
ggaemo 136
Sexy 73
NaDa 49
firebathero 48
Aegong 38
Icarus 6
Dota 2
monkeys_forever875
League of Legends
febbydoto10
Counter-Strike
Stewie2K496
Super Smash Bros
hungrybox553
Heroes of the Storm
Khaldor164
Other Games
summit1g13887
JimRising 442
C9.Mang0368
ViBE184
ROOTCatZ22
Organizations
Other Games
gamesdonequick900
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• Berry_CruncH183
• Hupsaiya 51
• davetesta43
• gosughost_ 19
• practicex 15
• AfreecaTV YouTube
• intothetv
• sooper7s
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• HerbMon 48
• Azhi_Dahaki20
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22427
Other Games
• Shiphtur184
Upcoming Events
Sparkling Tuna Cup
8h 4m
BSL20 Non-Korean Champi…
12h 4m
Bonyth vs TBD
WardiTV European League
14h 4m
ByuN vs ShoWTimE
HeRoMaRinE vs MaxPax
Wardi Open
1d 9h
OSC
1d 22h
uThermal 2v2 Circuit
3 days
The PondCast
4 days
Replay Cast
4 days
uThermal 2v2 Circuit
5 days
RSL Revival
6 days
[ Show More ]
RSL Revival
6 days
uThermal 2v2 Circuit
6 days
Liquipedia Results

Completed

ASL Season 20: Qualifier #1
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20: Qualifier #2
HCC Europe
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025

Upcoming

ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
Thunderpick World Champ.
MESA Nomadic Masters Fall
CAC 2025
Roobet Cup 2025
ESL Pro League S22
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
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.