Debugged both server and client. Now all work well.