Click here to Skip to main content
13,293,126 members (99,858 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i am make a application in i want to use a database in sql server and i wana to accesses it from a internet kindly tell me how i can write code and access it from any website which give me allow me it
i have no VPN So how i can do it
or if any other way for do this so tel me
is there any free vpn
i have a application my one city and one is other but i have no vpn so how i can access it please help me
Posted 1-Feb-13 10:24am
Zoltán Zörgő 1-Feb-13 15:34pm
And what kind of server is it? A full-blow one with fixed ip address facing the internet? Can you set open ports on your firewall to access a desired service endpoint on the server from outside?
ryanb31 1-Feb-13 16:27pm
From the sounds of it, I don't think this is going to work out the way you want. You need to be able to access it somehow.
Muthuraja Irullandi 2-Feb-13 12:17pm
You might need a static ip address to expose that machine to the internet. Once that is done, you can access that database.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It's all in the connection string, if your SQL Server is supposed to be accessed from an external application than all the firewall settings and whatnot should already be configured to allow you to access it. If its not publicly accessible you need to do 1 of 2 things, either get your IT department to open up the server for external access or jump through whatever hoops the IT department tells you to do so you can connect to the database. That includes, but is not limited to, connecting to the VPN, Modifying Application Logic or murdering a pixie in the name of some long forgotten deity.

After that take a look here:[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171207.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100