Originally Posted by Garibaldi3489
I am working on building a search engine of files in a particular directory on my server. I have installed the beagle service that will search an index files. I found a web interface for beagle called peagle:
I can start the script with:
and access it then by going to localhost:7324. I would now like to put this webpage on the site I'm hosting with apache on this machine. How might I do that? I tried accessing it with www.websiteaddress.com:7324
but that won't work and I tried to use iptables to open that port but that doesn't seem to work either. Any ideas?
you're doing it right. If it's the same machine, and you can access the site via "http://localhost:<port>" you should also be able to access it via "http://DNSname:<port>" - whether DNSname is fully qualified external name or an internal alias doesn't matter. That said, when you do localhost or a local alias, you don't leave your internal network, but if you do a fully qualified external name, you do.
If it isn't working, it's going to be some sort of a router/firewall issue. Make sure your router is forwarding that port to that machine. Make sure you don't have that outbound port blocked, make sure your hosts.allow/deny isn't blocking, and double check your iptables again. I'm guessing a router config issue.