Change port 8080 to 46658

This commit is contained in:
Jae Kwon
2015-12-01 15:27:50 -08:00
parent 4fc7aa234f
commit 7931e2b9ca
4 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ import (
func main() { func main() {
// Start the listener // Start the listener
_, err := server.StartListener("tcp://127.0.0.1:8080", example.NewCounterApplication()) _, err := server.StartListener("tcp://127.0.0.1:46658", example.NewCounterApplication())
if err != nil { if err != nil {
Exit(err.Error()) Exit(err.Error())
} }

View File

@ -9,7 +9,7 @@ import (
func main() { func main() {
// Start the listener // Start the listener
_, err := server.StartListener("tcp://127.0.0.1:8080", example.NewDummyApplication()) _, err := server.StartListener("tcp://127.0.0.1:46658", example.NewDummyApplication())
if err != nil { if err != nil {
Exit(err.Error()) Exit(err.Error())
} }

View File

@ -26,7 +26,7 @@ func main() {
app.Flags = []cli.Flag{ app.Flags = []cli.Flag{
cli.StringFlag{ cli.StringFlag{
Name: "address", Name: "address",
Value: "tcp://127.0.0.1:8080", Value: "tcp://127.0.0.1:46658",
Usage: "address of application socket", Usage: "address of application socket",
}, },
} }

View File

@ -16,13 +16,13 @@ func TestStream(t *testing.T) {
numAppendTxs := 200000 numAppendTxs := 200000
// Start the listener // Start the listener
_, err := server.StartListener("tcp://127.0.0.1:8080", NewDummyApplication()) _, err := server.StartListener("tcp://127.0.0.1:46658", NewDummyApplication())
if err != nil { if err != nil {
Exit(err.Error()) Exit(err.Error())
} }
// Connect to the socket // Connect to the socket
conn, err := Connect("tcp://127.0.0.1:8080") conn, err := Connect("tcp://127.0.0.1:46658")
if err != nil { if err != nil {
Exit(err.Error()) Exit(err.Error())
} }