Could not connect problem ConnectTimeout

According to the settings, I have automatically successfully port forwarded 4040, as well as successfully registered a web address, but when I try to connect to my server with the app on my iPhone, I get an error message saying I could not connect. Not sure what else I might need to do.