Error 504 gateway timeout EDIT:nevermind found that ISP is blocking port 80 hope others with this issue will find this . They have this sneaky in tos to pay more to open port 80 you have to upgrade to open port 80 www optimum dot net/tos (b) Optimum Online Boost: (i) Users may not run any servers except for a webserver (HTTP) and mail (SMTP) on the system. This includes but is not limited to FTP, IRC, POP, SOCKS, SQUID, DNS or any multi-user forums.