Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Refused on 127.0.0.1 #76

Closed
jonathancua opened this issue Feb 10, 2014 · 1 comment
Closed

Connection Refused on 127.0.0.1 #76

jonathancua opened this issue Feb 10, 2014 · 1 comment

Comments

@jonathancua
Copy link

It used to work before... but now when I run this:

$ sudo ./gor --input-raw :80 --output-tcp "127.0.0.1:28020"

It gives these errors. Any ideas?

2014/02/10 12:18:00 Connection error dial tcp 127.0.0.1:28020: connection refused 127.0.0.1:28020

panic: runtime error: invalid memory address or nil pointer dereference
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x4eed67]

goroutine 16 [runnable]:
net.runtime_pollWait(0x7f501b4c58c8, 0x72, 0x0)
/tmp/bindist821562699/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(_pollDesc).Wait(0xc21006c1b0, 0x72, 0x7f501b4c4268, 0xb)
/home/vagrant/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(_pollDesc).WaitRead(0xc21006c1b0, 0xb, 0x7f501b4c4268)
/home/vagrant/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(_netFD).ReadFrom(0xc21006c150, 0xc210080000, 0x2000, 0x2000, 0x0, ...)
/home/vagrant/go/src/pkg/net/fd_unix.go:231 +0x320
net.(_IPConn).ReadFromIP(0xc210000508, 0xc210080000, 0x2000, 0x2000, 0x19, ...)
/home/vagrant/go/src/pkg/net/iprawsock_posix.go:82 +0x107
net.(_IPConn).ReadFrom(0xc210000508, 0xc210080000, 0x2000, 0x2000, 0x19, ...)
/home/vagrant/go/src/pkg/net/iprawsock_posix.go:102 +0xf0
github.com/buger/gor/raw_socket_listener.(_Listener).readRAWSocket(0xc210062980)
/vagrant/src/github.com/buger/gor/raw_socket_listener/listener.go:74 +0x1dd
created by github.com/buger/gor/raw_socket_listener.NewListener
/vagrant/src/github.com/buger/gor/raw_socket_listener/listener.go:42 +0x138

goroutine 20 [chan receive]:
github.com/buger/gor/raw_socket_listener.(*TCPMessage).listen(0xc21007f3c0)
/vagrant/src/github.com/buger/gor/raw_socket_listener/tcp_message.go:46 +0x4b
created by github.com/buger/gor/raw_socket_listener.NewTCPMessage
/vagrant/src/github.com/buger/gor/raw_socket_listener/tcp_message.go:38 +0xd0

netstat does not show anything running on 28020

@jonathancua
Copy link
Author

Please close this. There was no replayer running which is why I was getting the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant