diff --git a/templates/index.html b/templates/index.html
index 05dc73d..bbd2f72 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -12,7 +12,7 @@
blackolivepineapple.pizza Factorio Server
- - Connection String: {{.IPAddr}}{{if .Port != 34197}}:{{.Port}}{{end}}
+ - Connection String: {{.IPAddr}}{{if ne .Port 34197}}:{{.Port}}{{end}}
- Server Name: {{.Title}}
- Current players:
{{.Players}}