locked
connection string in vps server how to connection to my localhost RRS feed

  • Question

  • User643189141 posted

    Hi,

    Is it possible to connect my connectionstring from my vps PC to my localhost PC?

    My connectionstring on my VPS is:
    <add name="connectionString" connectionString="Data Source=084-R2-41\SQLEXPRESS;Initial Catalog=test;User ID=programer;Password=12345678"

    Now I want to access from my VPS to my localhost PC.


    Saturday, May 25, 2013 2:40 PM

Answers

  • User13850534 posted

    You have to setup your local PC as hosting server that allows remote connection via static IP.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 27, 2013 2:13 AM

All replies

  • User643189141 posted

    I tried like this:

     <add name="connectionString" connectionString="Server=11.11.111.11;Database=test;User ID=test;Password=12345678;Trusted_Connection=False;"


    but no found.

    Saturday, May 25, 2013 3:02 PM
  • User13850534 posted

    You have to setup your local PC as hosting server that allows remote connection via static IP.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 27, 2013 2:13 AM