changing ports
change content for appfog
Changing the url connect socket
change the address again
Correcting locals and now working with localhost and app fog