SymmetricDS Sample - wrong port being used by client -


i trying example symmetricds tutorial work. using configuration files corp-000.properties , store-001.properties found in samples directory of download zip. have placed them in engine directory , edited them corp-000 using mysql db , store-001 using h2 db, both on local machine.

here registration , synch urls corp-000.properties:

registration.url= sync.url= http : // localhost : 31415 / sync / corp-000 

here ones in store-001:

registration.url= http: // localhost : 31415 / sync / corp-000 sync.url= http : // localhost : 31415 / sync / corp-000 

when run bin/sym, finds 2 databases. then, store-001 reports:

[store-001] - defaultofflineclientlistener - failed connect transport: http: // localhost : 8080 / sync / corp-000 [store-001] - pushservice - not communicate corp:000:000 @ http: // localhost : 8080 / sync / corp-000 because: connection refused 

this mystery since port 8080 not specified anywhere in 2 properties file.

note: urls above don't have spaces in properties files. had stackoverflow allow me have them in question.

thank in advance assistance.

quite late post answer there's mistake in property file of store-001:

registration.url should point root node (which corp-000), not localhost.

i suggest replace localhost corp-000 ip address or network name: registration.url=http://<corp-000-ipaddress>:31415/sync/corp-000


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -