socket works now; the problem was no proper server