LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-08-2006, 12:11 PM   #1
tooparam
Member
 
Registered: Nov 2005
Location: India
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
Could not connect to server localhost(MozillaMail)


Hi there,

I'm unable to connect to localhost using Mozilla Mail. However I'm able to connect using web browser(http://localhost). I'm the root user. I get the following message whenever I try to read my mails from localhost using Mozilla Mail.

Could not connect to server localhost; the connection was refused.

How can I make my Linux PC to accept connection. Please help me out.
 
Old 02-08-2006, 04:34 PM   #2
DanielCox
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE 9.1, Mandrake 10, Win 2K Prof
Posts: 10

Rep: Reputation: 0
Why are you trying to connect to yourself? Localhost is your own machine. Perhaps you've got a web server running, but not a mail server. They're not installed by default on most linux distros. I'll help ya, but I need a bit more information, particularly your motives, so I can steer you in the right direction.
 
Old 02-08-2006, 07:49 PM   #3
tooparam
Member
 
Registered: Nov 2005
Location: India
Distribution: Slackware
Posts: 51

Original Poster
Rep: Reputation: 15
Actually I'm writing mailing program in PHP language which sends an email. I am writing HTML mails with attachments. I can't check it on mailx whether it is working properly or not. I can check it on Mozilla Mail as it is an advanced Email client for HTML and attachments.

I can't check it in real time by sending it to the Internet as my ISP mail server needs SMTP authentication which unfortunately is not suppoted ny PHP language.

Hope my motive is now clear to you.
 
Old 02-10-2006, 04:52 PM   #4
DanielCox
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE 9.1, Mandrake 10, Win 2K Prof
Posts: 10

Rep: Reputation: 0
No, I'm sorry, I don't understand. I don't mean to be rude, but do you understand how email and email programs work, in general? It seems like you're trying to send and receive email locally, but you don't have a mail server running on your machine. If you don't have a mail server that supports POP or something on your machine, there's nothing for MozillaMail to connect to.

For what you're doing, I would recommending signing up for a host (there are some free ones out there that support php) and putting your php script up there, and running it. That way you won't have to deal with your ISP's restrictions.
 
Old 02-10-2006, 07:20 PM   #5
tooparam
Member
 
Registered: Nov 2005
Location: India
Distribution: Slackware
Posts: 51

Original Poster
Rep: Reputation: 15
Can you send me the link of these free hosts having support for php.

Thanks in advance.
 
Old 02-27-2006, 11:13 PM   #6
DanielCox
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE 9.1, Mandrake 10, Win 2K Prof
Posts: 10

Rep: Reputation: 0
Geocities does, but it's ad-supported. Actually, I'm pretty sure most free hosts out there support php. Just google around for free hosts and see what you get.
 
  


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
Can't connect to host localhost Scoobsky Linux - Networking 3 10-26-2005 11:47 AM
Cannot connect to anything on localhost JohnKFT Slackware 17 05-11-2005 02:21 AM
can't connect to localhost acidblue Fedora 0 12-05-2004 07:20 PM
cannot connect to localhost (RH9) DaddyBad Linux - Newbie 10 03-15-2004 12:15 PM
Can't connect to localhost Brendon Linux - Networking 11 07-30-2002 10:13 AM

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

All times are GMT -5. The time now is 09:24 AM.

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