PHP Scripts can't get past router
jamescl
Newbie

I am running an Apache server on one of my computers, and made a file on my website elsewhere to get that file and show the user its contents. Whenever I try, it gives me this error:

array(4) { ["type"]=> int(2) ["message"]=> string(144) "fopen(http://***.**.*.***:82/********/********.***) [function.fopen]: failed to open stream: Connection refused" ["file"]=> string(35) "/home1/*******/public_html/test.php" ["line"]=> int(3) }

 

In simpler terms: It couldn't get the file because the connection was refused.

 

I then tried connecting to that file through my browser, and it was able to show me the file. Then, I opened an Apache server on another computer on another port, and I received the same error. I know that this is a router problem, because it repeated, and other Apache-run websites don't have this problem.

0 Likes
Re: PHP Scripts can't get past router
Anti-Phish1
Master - Level 1

Did you create a port forward rule?

By default, the FIOS router blocks all incoming connections.

0 Likes