URL to see Golang TCP server

go
server

#1

Hey I want to write some golang chat application but I’m not sure how to request from the correct url and port. here is the code:

package main

import (
“fmt”
“net”
)

func main() {
listenner, _ := net.Listen(“tcp”, “localhost:8080”)

for {
connection, _ := listenner.Accept() // connection is a net.Conn which is an io.Writer so Fprintln can write to it
fmt.Fprintln(connection, “hi man”)
connection.Close()
}
}

what is the url/port i need to write in
and
what is the telnet command to run?