Sails cannot connect to remote Redis Server in Dev Environment V1.1.0lrange command on sails-redisRemote SQL Server with sails jsConnecting Sails with SQL ServerSails redis connection remains openSails JS with Redis for cachingsails waterline sort on number not working(sails-redis)Sails connect-redis adapterSailsJS deployment on azure is not stableSails 1.0 - sails-disk for dev/test and sails-mongo for productionsails cannot lift when changing adapter to sails-disk or sails-memory

Partial Fractions: Why does this shortcut method work?

What's the term for a group of people who enjoy literary works?

Why do player start with fighting for the corners in go?

When did J.K. Rowling decide to make Ron and Hermione a couple?

How do I respond appropriately to an overseas company that obtained a visa for me without hiring me?

Has J.J.Jameson ever found out that Peter Parker is Spider-Man?

How is Sword Coast North governed?

Why are prop blades not shaped like household fan blades?

How to avoid a lengthy conversation with someone from the neighborhood I don't share interests with

How to structure presentation to avoid getting questions that will be answered later in the presentation?

Move label of an angle in Tikz

Protect a 6 inch air hose from physical damage

"Fewer errors means better products" or "Fewer errors mean better products"?

What's the proper way of indicating that a car has reached its destination during a dialogue?

How do people drown while wearing a life jacket?

Gold Battle KoTH

Need help identifying how to open this bolt/screw

Overprovisioning SSD on ubuntu. How? Ubuntu 19.04 Samsung SSD 860

HackerRank Implement Queue using two stacks Solution

How to power down external drive safely

Why did the United States not resort to nuclear weapons in Vietnam?

Adding a (stair/baby) gate without facing walls

Is there a general term for the items in a directory?

Feedback diagram



Sails cannot connect to remote Redis Server in Dev Environment V1.1.0


lrange command on sails-redisRemote SQL Server with sails jsConnecting Sails with SQL ServerSails redis connection remains openSails JS with Redis for cachingsails waterline sort on number not working(sails-redis)Sails connect-redis adapterSailsJS deployment on azure is not stableSails 1.0 - sails-disk for dev/test and sails-mongo for productionsails cannot lift when changing adapter to sails-disk or sails-memory






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am trying to configure persistent sessions through a remote server with redis.



under sails.config.session I am configuring the following code to connect to my Server



module.exports.session = 
adapter: '@sailshq/connect-redis',
url:"redis://:pass@157.xxx.xxx.xxx:6379/0",
prefix: 'sess:',
secret: "secretSailsSessionDataHere",
cookie:
maxAge: 1 * 60 * 60 * 1000
,



When I lift Sails with:



 sails lift --redis or sails lift


The connection defaults to my localhost redis server. If I shutdown my local server it says connection refused from 127.0.0.1 when my server address is xxx.xxx.xxx It also spits out the following error



Redis connection manager failed unexpectedly. Details: Error: Error emitted from Redis client.
Error details:ReplyError: ERR invalid DB index


Any suggestions on how I can configure module.exports.sessions to use the remote server?










share|improve this question
































    1















    I am trying to configure persistent sessions through a remote server with redis.



    under sails.config.session I am configuring the following code to connect to my Server



    module.exports.session = 
    adapter: '@sailshq/connect-redis',
    url:"redis://:pass@157.xxx.xxx.xxx:6379/0",
    prefix: 'sess:',
    secret: "secretSailsSessionDataHere",
    cookie:
    maxAge: 1 * 60 * 60 * 1000
    ,



    When I lift Sails with:



     sails lift --redis or sails lift


    The connection defaults to my localhost redis server. If I shutdown my local server it says connection refused from 127.0.0.1 when my server address is xxx.xxx.xxx It also spits out the following error



    Redis connection manager failed unexpectedly. Details: Error: Error emitted from Redis client.
    Error details:ReplyError: ERR invalid DB index


    Any suggestions on how I can configure module.exports.sessions to use the remote server?










    share|improve this question




























      1












      1








      1








      I am trying to configure persistent sessions through a remote server with redis.



      under sails.config.session I am configuring the following code to connect to my Server



      module.exports.session = 
      adapter: '@sailshq/connect-redis',
      url:"redis://:pass@157.xxx.xxx.xxx:6379/0",
      prefix: 'sess:',
      secret: "secretSailsSessionDataHere",
      cookie:
      maxAge: 1 * 60 * 60 * 1000
      ,



      When I lift Sails with:



       sails lift --redis or sails lift


      The connection defaults to my localhost redis server. If I shutdown my local server it says connection refused from 127.0.0.1 when my server address is xxx.xxx.xxx It also spits out the following error



      Redis connection manager failed unexpectedly. Details: Error: Error emitted from Redis client.
      Error details:ReplyError: ERR invalid DB index


      Any suggestions on how I can configure module.exports.sessions to use the remote server?










      share|improve this question
















      I am trying to configure persistent sessions through a remote server with redis.



      under sails.config.session I am configuring the following code to connect to my Server



      module.exports.session = 
      adapter: '@sailshq/connect-redis',
      url:"redis://:pass@157.xxx.xxx.xxx:6379/0",
      prefix: 'sess:',
      secret: "secretSailsSessionDataHere",
      cookie:
      maxAge: 1 * 60 * 60 * 1000
      ,



      When I lift Sails with:



       sails lift --redis or sails lift


      The connection defaults to my localhost redis server. If I shutdown my local server it says connection refused from 127.0.0.1 when my server address is xxx.xxx.xxx It also spits out the following error



      Redis connection manager failed unexpectedly. Details: Error: Error emitted from Redis client.
      Error details:ReplyError: ERR invalid DB index


      Any suggestions on how I can configure module.exports.sessions to use the remote server?







      sails.js






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 27 at 2:07







      bleik urrego

















      asked Mar 27 at 0:32









      bleik urregobleik urrego

      586 bronze badges




      586 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55368116%2fsails-cannot-connect-to-remote-redis-server-in-dev-environment-v1-1-0%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55368116%2fsails-cannot-connect-to-remote-redis-server-in-dev-environment-v1-1-0%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현