Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-27450

Memcached refuse connection for Telnet 11211

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 5.0.1
    • None
    • None
    • Unknown

    Description

      It appears Couchbase memcached is refusing connection on 11211. Tested using telnet:

      telnet HOST 11211

      Firewall ports are wide open so looks like it something Couchbase end.

      It doesn't work even from the same box what node is running:

       telnet localhost 11211 

      Couchbase otherwise works when connected vis SDK but telnet 11211 memcached can't be reach which prevents using couchbase as a session storage on e.g. PHP

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          marcin Marcin added a comment -

          Tried creating buckets called

          default

          and

          memcached

          none of them allows telnet to connect on 11211, however can connect on telnet 11210 only 11211 is being refused. If default name for default memcached bucket changed in 5.0.1 can you advise what is it now?

          marcin Marcin added a comment - Tried creating buckets called default and memcached none of them allows telnet to connect on 11211, however can connect on telnet 11210 only 11211 is being refused. If default name for default memcached bucket changed in 5.0.1 can you advise what is it now?

          I think it's likely because server side moxi has been disabled. 5.0.x release notes seem capture it as well.

          asingh Abhishek Singh (Inactive) added a comment - I think it's likely because server side moxi has been disabled. 5.0.x release notes seem capture it as well.

          Marcin: if you want to use Couchbase as OOTB compatible with text protocol memcached, you'll want to use our memcached proxy, moxi. The memcached we run in Couchbase intentionally does not expose memcached ascii protocol.

          Downloads don't seem to be listed (will file an issue for that), but you can get them from here (example file name):
          https://packages.couchbase.com/releases/moxi/4.6.0/moxi-server-4.6.0-centos6.x86_64.rpm

          Even better, if you can, modify your application to use our PHP SDK. You'll get better performance, more security and that is a very well maintained extension.

          ingenthr Matt Ingenthron added a comment - Marcin : if you want to use Couchbase as OOTB compatible with text protocol memcached, you'll want to use our memcached proxy, moxi. The memcached we run in Couchbase intentionally does not expose memcached ascii protocol. Downloads don't seem to be listed (will file an issue for that), but you can get them from here (example file name): https://packages.couchbase.com/releases/moxi/4.6.0/moxi-server-4.6.0-centos6.x86_64.rpm Even better, if you can, modify your application to use our PHP SDK. You'll get better performance, more security and that is a very well maintained extension.

          Yes, Moxi has been discontinued - you can get it for older versions and there may be a version for 5.0 (pending download link) but won't likely be available for any later versions.

          tyler.mitchell Tyler Mitchell added a comment - Yes, Moxi has been discontinued - you can get it for older versions and there may be a version for 5.0 (pending download link) but won't likely be available for any later versions.

          Tyler Mitchell Is that correct? Didn't think we'd deprecated client-side moxi?

          malarky Chris Malarky added a comment - Tyler Mitchell Is that correct? Didn't think we'd deprecated client-side moxi?
          ianmccloy Ian McCloy added a comment -

          Chris Malarky - Correct, Client-side moxi is not deprecated. 

          ianmccloy Ian McCloy added a comment - Chris Malarky - Correct, Client-side moxi is not deprecated. 

          People

            Unassigned Unassigned
            marcin Marcin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty