FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Can not import NNTP messages
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Can not import NNTP messages [message #35972] Mon, 26 February 2007 02:34 Go to next message
greg is currently offline  greg   China
Messages: 18
Registered: February 2007
Karma: 0
Junior Member
i always get

Unable to establish connection to news.grc.com on port 119 failed
With Error #110 : Connection timed out

Can anyone helps? how to make the nntp works?
Re: Can not import NNTP messages [message #35990 is a reply to message #35972] Tue, 27 February 2007 00:30 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It sounds like there is no NNTP server at that address, at least not on port 119.

FUDforum Core Developer
Re: Can not import NNTP messages [message #35995 is a reply to message #35972] Tue, 27 February 2007 02:47 Go to previous messageGo to next message
greg is currently offline  greg   China
Messages: 18
Registered: February 2007
Karma: 0
Junior Member
But i can use the address thru OE. i can read messages thru OE.
Can you help me to test the address? or can you give me a nntp server to use?
thanks for your help.
Greg
Re: Can not import NNTP messages [message #36006 is a reply to message #35995] Wed, 28 February 2007 01:06 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Is PHP running on the same machine as the one you are trying to connect from? Can you try to connect to the server using fsockopen() and see if that work.

FUDforum Core Developer
Re: Can not import NNTP messages [message #36042 is a reply to message #35972] Thu, 01 March 2007 00:30 Go to previous messageGo to next message
greg is currently offline  greg   China
Messages: 18
Registered: February 2007
Karma: 0
Junior Member
no, the OE is on my machine, but the php program is on my server. will that difference?
can you give me a simply php code to test that?
Re: Can not import NNTP messages [message #36044 is a reply to message #35972] Thu, 01 March 2007 01:50 Go to previous messageGo to next message
greg is currently offline  greg   China
Messages: 18
Registered: February 2007
Karma: 0
Junior Member
i use the following code to test on my server:
<?php
$fp = fsockopen("news.grc.com", 119, $errno, $errstr);
if (!$fp) {
   echo "ERROR: $errno - $errstr<br />\n";
} else {
   fwrite($fp, "\n");
   echo fread($fp, 26);
   fclose($fp);
}
?> 


it's report as:
ERROR: 110 - Connection timed out

i try to add news:// before the url, it's said, Error: 0 - Success.

Please help me to fix it?
do i need do some setting on my server to get it run?

Re: Can not import NNTP messages [message #36061 is a reply to message #36044] Fri, 02 March 2007 00:44 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
IT seems like your server is being blocked from accessing that address via a firewall. Can you try running your test script on another machine?

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: cant install because GLOBALS.php
Next Topic: Two more issues...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 15:46:57 GMT 2024

Total time taken to generate the page: 0.02639 seconds