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 error #2

Open
anitaa1990 opened this issue Jan 9, 2018 · 5 comments
Open

Connection refused error #2

anitaa1990 opened this issue Jan 9, 2018 · 5 comments

Comments

@anitaa1990
Copy link

Hey, I keep getting the following error when trying to connect to receiver:

01-09 07:36:13.039 8035-8819/io.github.karuppiah7890.filesharer W/System.err: java.net.ConnectException: Connection refused 01-09 07:36:13.039 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.PlainSocketImpl.socketConnect(Native Method) 01-09 07:36:13.039 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:343) 01-09 07:36:13.039 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:205) 01-09 07:36:13.040 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:187) 01-09 07:36:13.040 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356) 01-09 07:36:13.040 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.Socket.connect(Socket.java:586) 01-09 07:36:13.040 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.Socket.connect(Socket.java:535) 01-09 07:36:13.040 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.Socket.<init>(Socket.java:427) 01-09 07:36:13.040 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at java.net.Socket.<init>(Socket.java:243) 01-09 07:36:13.040 8035-8819/io.github.karuppiah7890.filesharer W/System.err: at io.github.karuppiah7890.fileshare.SenderThread.run(SenderThread.java:43)

@karuppiah7890
Copy link
Member

I think you started the sender before starting the receiver.

@anitaa1990
Copy link
Author

Actually i clicked on get file. Then a new code is generated and this new code i add to sender. Then I get connecting and then this exception

@karuppiah7890
Copy link
Member

Not sure. Gotta check on the code. But have you checked the example app I provided ? Or you get this exception in that app only ?

@anitaa1990
Copy link
Author

Yup using the same app from github. Just cloned and built and got this error

@karuppiah7890
Copy link
Member

I don't know. It's been long since I worked on this

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

2 participants