diff --git a/client/client.go b/client/client.go index ec1fc2e..b4ffc7d 100644 --- a/client/client.go +++ b/client/client.go @@ -14,7 +14,7 @@ import ( func NewConnector(containerType occp.ContainerType, portNumber int) (*csswc.Connectors, error) { u := url.URL{ Scheme: "ws", - Host: fmt.Sprintf("127.0.0.1:%d", port), + Host: fmt.Sprintf("127.0.0.1:%d", portNumber), } u.Path = path.Join(u.Path, occc.HTTPEntry_Container)