i had setup an apache home server. here the 80, 8080 ports are blocked . so i made my apache to listen to 4040 port. but the problem now is ,i use cloudflare service to point my domains to my server. now its showing error when i give my ip because the port is not 80. i tried putting dns host point to xxx.xx.xxx.xx:4040 in cloudflare but shows invalid ip . how to solve this issue?
You can't, CloudFlare only does caching on HTTP traffic I believe only on standard ports, although they do pass traffic for some other fairly standard ports (cPanel and such), they don't do any caching or performance improvements on anything but regular HTTP traffic. I believe this is the case though, please someone correct me if I'm wrong. http://blog.cloudflare.com/cloudflare-now-supporting-more-ports