LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2005, 08:54 AM   #1
spicychicken
Member
 
Registered: Oct 2004
Distribution: Fedora FC2
Posts: 32

Rep: Reputation: 15
Apache "Connection was refused" remote access error


Hello and goodday,


I have set up apache on a FC3 box and confirmed that it is running. When I type "http://localhost" in the web browser I can access the web pages just fine. When I access my router's IP address (which I have set to link to that specific box on ports 80 and 21) I can access the website just fine.

Now when I go onto a remoter computer out of my LAN I get a error that the "connection was refused while trying to connect to spicy.no-ip.info"

--By the way I have set up this DNS name to link to my dyn. IP automatically

http://spicy.no-ip.info

Further more I have set up vsftpd and it works fine, even remotely.

Any help would be greatly appreciated.

Thank you,
Spicy
 
Old 02-11-2005, 09:10 AM   #2
adm1329
Member
 
Registered: Mar 2004
Distribution: CentOS 5
Posts: 128

Rep: Reputation: 17
You do have your router set to forward http traffic to your server, correct? I'm guessing you did that since you did forward ftp traffic, but just making sure. There are no rules conflicting in the router, such as remote administration or anything?
 
Old 02-11-2005, 09:34 AM   #3
spicychicken
Member
 
Registered: Oct 2004
Distribution: Fedora FC2
Posts: 32

Original Poster
Rep: Reputation: 15
I really don't think so. I have checked the router and it all looks good.

And I can access the page from my LAN over the IP spicy.no-ip.info which is a link to my router.

Is my router that clever that it can identify that I am the one trying to connect?

And besides the FTP is working fine.
 
Old 02-11-2005, 10:27 AM   #4
spicychicken
Member
 
Registered: Oct 2004
Distribution: Fedora FC2
Posts: 32

Original Poster
Rep: Reputation: 15
Well,

I think I found out what is going on.

My ISP (Cox, boy they sure do live up to their name) blocks incoming port 80 requests.

So now my question is can I forward a DNS to a specific port?

Thanks for the help!
Spicy
 
Old 02-11-2005, 10:28 AM   #5
adm1329
Member
 
Registered: Mar 2004
Distribution: CentOS 5
Posts: 128

Rep: Reputation: 17
the router may realize that spicy.no-ip.info is for an internal address and resolve it. one way to find out is to ping spicy.no-ip.info and see if you get your public ip or an ip on the lan
 
Old 02-11-2005, 11:56 AM   #6
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
If his ISP blocks port 80 your suggestion will not help him at all.

He can run apache on a different port and tell his no-ip.info to forward any port 80 requests to the port apache is running on.

http://www.no-ip.com/faq/catid/4/id/56
 
Old 02-11-2005, 12:08 PM   #7
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,068

Rep: Reputation: 72
Hey Sergeant, maybe you can help.
I have to go to work in Spain for three months. In that time, I know my wife or boys will mess up things on this computer, Fedora 3.
I am trying to find out how I can get at my computer from Spain, and maybe fix the damage, say, if the printer won't work or so.
I have a dial up modem connection, so my ip changes.
Any tips about what to do?
Thanks Peter
 
Old 02-11-2005, 12:14 PM   #8
spicychicken
Member
 
Registered: Oct 2004
Distribution: Fedora FC2
Posts: 32

Original Poster
Rep: Reputation: 15
thanks for all the help

I have used no-ip to reroute the port 80 requests and it works - but now it shows the IP address, which I guess I can live with.

-spicy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
RSync genrates error "connection refused" jacquedp Linux - Software 3 07-28-2004 03:52 AM
service named error "rndc: conenct failed: connection refused" Reu Linux - General 1 07-12-2004 01:34 PM
Strange "Connection Refused" Error..... tictocdoc Linux - Networking 4 03-29-2004 04:16 PM
Synaptic Error: connection to":0.0" refused by server xsis4me Linux - Software 2 11-18-2003 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 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