trying to make server work