removed localhost reference
changed port and client connection url
passing app as socket io listen parameter
passed server instead