PHP Warning: Memcache::pconnect(): Can't connect to 127.0.0.1:11211

View: New views
4 Messages — Rating Filter:   Alert me  

PHP Warning: Memcache::pconnect(): Can't connect to 127.0.0.1:11211

by kumar.c :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

In my appliaction,  I am getting below error.

PHP Warning:  Memcache::pconnect(): Can't connect to 127.0.0.1:11211, Connection refused (111) in /var/www/html/sample/memcache.class.php on line 26

Unable to connect the Memcache!!

Please mail me the solution to fix above error.

Thanks in Advance,
kumar









Re: PHP Warning: Memcache::pconnect(): Can't connect to 127.0.0.1:11211

by Ethan Zuhl | helloecho.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: PHP Warning: Memcache::pconnect(): Can't connect to 127.0.0.1:11211 /etc/init.d/iptables stop

Seriously though, you may want to check your firewall scripts and confirm you are not blocking the port

Cheers,
ethan


On 4/30/08 10:21 AM, "anul kumar" <kumar.anul@...> wrote:

Hi,

In my appliaction,  I am getting below error.

PHP Warning:  Memcache::pconnect(): Can't connect to 127.0.0.1:11211 <http://127.0.0.1:11211> , Connection refused (111) in /var/www/html/sample/memcache.class.php on line 26

Unable to connect the Memcache!!

Please mail me the solution to fix above error.

Thanks in Advance,
kumar











--
Ethan Zuhl | Application Developer
ethan.zuhl@...
615.371.5119 | 615.777.5119 fax

echo  |  Hello. Hello.  |  helloecho.com

The information contained in this message is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.

Re: PHP Warning: Memcache::pconnect(): Can't connect to 127.0.0.1:11211

by RayKrueger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, is it running?
Try connecting to it with telnet or nc
$ telnet localhost 11211
stats
^]
Quit


On Wed, Apr 30, 2008 at 10:21 AM, anul kumar <kumar.anul@...> wrote:

> Hi,
>
> In my appliaction,  I am getting below error.
>
> PHP Warning:  Memcache::pconnect(): Can't connect to 127.0.0.1:11211,
> Connection refused (111) in /var/www/html/sample/memcache.class.php on line
> 26
>
> Unable to connect the Memcache!!
>
> Please mail me the solution to fix above error.
>
> Thanks in Advance,
> kumar
>
>
>
>
>
>
>
>
>

Re: PHP Warning: Memcache::pconnect(): Can't connect to 127.0.0.1:11211

by uknownymous15 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi its such a bs not at all
kumar.c wrote:
Hi,

In my appliaction,  I am getting below error.
*
PHP Warning:  Memcache::pconnect(): Can't connect to 127.0.0.1:11211,
Connection refused (111) in /var/www/html/sample/memcache.class.php on line
26

Unable to connect the Memcache!!

*Please mail me the solution to fix above error.

Thanks in Advance,
kumar