Re: what is a connection refused(111) error?

2020-07-18 Thread Benya Benya
google.com refused to connect. On Friday, September 5, 2008 at 1:47:08 PM UTC-5, pedalpete wrote: > > I've tried reinstalling memcache a few times, and I can connect to it > from root, but when attempting to connect via my php page, I get a > [code] > Memcache::connect() [memcache.connect]: Ser

Re: what is a connection refused(111) error?

2008-09-05 Thread pedalpete
SUCCESSS thank you all so much for the help. So i went back to starting with -d. The problem now is that when I cancel out of the command line On Sep 5, 3:00 pm, dormando <[EMAIL PROTECTED]> wrote: > Hey, > > When you're getting started with memcached, it might be a good idea to > start it

Re: what is a connection refused(111) error?

2008-09-05 Thread pedalpete
Thanks Jehiah, You are correct. I'm not sure why all the online guides said '10.0.0.40', and in the past I had tried with 127.0.0.1, but didn't get very far. On Sep 5, 2:52 pm, "Jehiah Czebotar" <[EMAIL PROTECTED]> wrote: > > I have started memcached with > > [code] > > memcached -d -m 1024 -l 1

Re: what is a connection refused(111) error?

2008-09-05 Thread dormando
Hey, When you're getting started with memcached, it might be a good idea to start it without the -d option the first time. We daemonize really early (maybe this is fixable...) so a startup error isn't always printed when you use -d. By removing the daemonize option it'll run in the foregroun

Re: what is a connection refused(111) error?

2008-09-05 Thread Jehiah Czebotar
> I have started memcached with > [code] > memcached -d -m 1024 -l 10.0.0.40 -p 11211 -u nobody > [/code] and your error is > [code] > Memcache::connect() [memcache.connect]: Server 127.0.0.1 (tcp 11211) > failed with: Connection refused (111) > [/code] so already there is a problem. you have t

Re: what is a connection refused(111) error?

2008-09-05 Thread pedalpete
Thanks Steve, I am kinda new to admining my own server, so no, I hadn't tried telnet. And you are correct, I can't telnet to 11211. But at the same time, I can't be sure that memcached is running either. I'm not sure how to test for that. I have started memcached with [code] memcached -d -m 1024

Re: what is a connection refused(111) error?

2008-09-05 Thread Steve Yen
Could be any number of things... 111 is just the ECONNREFUSED error code value from underlying socket connect() syscall. Apologies if you've tried or thought of these top-of-head ideas already... a - is memcached really running? on port 11211? b - can you telnet to it? can you telnet as the sa

what is a connection refused(111) error?

2008-09-05 Thread pedalpete
I've tried reinstalling memcache a few times, and I can connect to it from root, but when attempting to connect via my php page, I get a [code] Memcache::connect() [memcache.connect]: Server 127.0.0.1 (tcp 11211) failed with: Connection refused (111) [/code] I have tried using 'localhost' as the