LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2007, 01:29 PM   #1
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Rep: Reputation: 30
Access Local Port on Website


Hello,

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:
http://www.kde-apps.org/content/show.php?content=38289
I can start the script with:
Code:
#./peagle
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?

Thanks
 
Old 11-29-2007, 01:43 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by Garibaldi3489 View Post
Hello,

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:
http://www.kde-apps.org/content/show.php?content=38289
I can start the script with:
Code:
#./peagle
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?

Thanks
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to access website from local network pioniere Linux - Networking 8 07-31-2006 09:09 AM
restricting website access from local machine Stridier Linux - Networking 9 01-30-2006 04:26 AM
can't access non-port 80 website from WAN jetcollins Linux - General 1 08-02-2005 11:40 AM
Need access at xebian.localdomain.local for port 21... but I have no clue Kaito 2075 Linux - Newbie 0 02-25-2005 05:22 PM
local users can't see website or get mail Michele Linux - Newbie 8 07-01-2004 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration