Bitcoin Forum
December 13, 2024, 11:52:26 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Port Hopping with ElectrumClient-ElectrumX Server Connection  (Read 61 times)
john1000444 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 12, 2018, 02:13:51 PM
 #1

Hello all, I am making an electrum client and electrumx server for DeepOnion and have run into an issue where, when I try to connect to the server (running on an Ubuntu VPS), my client will occasionally flicker that it is connected and then go back to unconnected. Attached is a snap of what the connections are being logged as on the server and I am wondering if anyone would have an idea as to what the problem is (the whited out spaces are just my IP address).

Thanks!

https://imgur.com/a/h9FyHcA
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 12, 2018, 04:28:09 PM
 #2

Looks fine to me, the port is supposed to change as far as I know.

You're hosting a server, you need to be able to accept multiple connections in parallel across your network, therefore your electrum server is assigning each electrum client it's own socket (IP:Port) in this case, the port is just changing so that stuff doesn't get confused.
john1000444 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 13, 2018, 04:08:05 PM
 #3

The problem is that this is all just one client trying to connect, so I guess the connection is cutting out and it keeps making a new socket assignment?
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 13, 2018, 04:57:45 PM
 #4

The problem is that this is all just one client trying to connect, so I guess the connection is cutting out and it keeps making a new socket assignment?

I guess so. How did you get that information up from the command line (what command did you run)?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!