localhost->serverAddress

This commit is contained in:
Zack Scholl 2017-10-17 18:45:52 -06:00
parent df622467dd
commit c3956b059e
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func runClient(connectionType string, codePhrase string) {
go func(id int) {
defer wg.Done()
port := strconv.Itoa(27001 + id)
connection, err := net.Dial("tcp", "localhost:"+port)
connection, err := net.Dial("tcp", serverAddress+":"+port)
if err != nil {
panic(err)
}