connection server ok
reading from localhost