If your subnet mask is 255.255.255.0 (which is the norm for class C private subnets) then your two machines are on different subnets:
Host A | Server | IP: 192.168.56.1
Host B | Client | IP: 192.168.47.1
the .56. and .47. being the operative elements. Try to change either IP to be either in 192.168.56.0/24
or 192.168.47.0/24
and you'll be fine.
Alternatively, you'll need to setup a static route between the two subnets.
Cheers,