VB.NET How To Connect To An SQL Server Over The Internet.

  Рет қаралды 119,394

Andrew Eberle

Andrew Eberle

7 жыл бұрын

G'day guys, In this video I will show you how to connect to an SQL server over in internet via SQL Server Studio Management and VB.NET
/ codinwithandrew

Пікірлер: 111
@Hero1Alfa
@Hero1Alfa 4 жыл бұрын
thank you , you are the only one who really aware about real remote connection to db all other spoke about local internet connection .
@danielahmadiadib3228
@danielahmadiadib3228 4 жыл бұрын
the explanation was great, i wish every one would explain programming just as good as you. Good Job.
@foreigner2thisworld
@foreigner2thisworld 4 жыл бұрын
Thanks Andrew for taking the time and effort to create such informative videos!
@vladanulardzic5859
@vladanulardzic5859 5 жыл бұрын
Perfect video ! Really perfect video ! Including testing all the way ! Keep on.
@JohanSandq
@JohanSandq 4 жыл бұрын
Fantastic video. Covers all you need from start to end. Many people recommend using VPN for DB connections, maybe in next video you could elaborate on security issues and how you would avoid port sniffers from finding your database
@charlesledford2151
@charlesledford2151 4 жыл бұрын
This is a great, to the point, video. Subbed for sure.
@myblackstar
@myblackstar Жыл бұрын
Bruh after watching your video I was able to connect to VM SQLExpress with no Problem super easy to follow your instructions. Thank you :)
@boat2020com
@boat2020com 3 жыл бұрын
That is great, easy and understandable way of teaching. Thank you so much.
@ANdR3WISCOOL
@ANdR3WISCOOL 3 жыл бұрын
Thank you for your kind words 😊
@pw.70
@pw.70 3 жыл бұрын
Brilliant! Thanks for this - great explanation.
@josueosorio4256
@josueosorio4256 Жыл бұрын
Gracias, ya días he andado buscando esto y por fin lo encontré. Lo intentaré hacer.
@zakariachriti5156
@zakariachriti5156 4 жыл бұрын
i subscribed becuz you are actually amazing , i really really hope you dont put an end to these tutorials and all these info you have , Thanks alot.
@ianvisser7899
@ianvisser7899 Жыл бұрын
Ngl, probs the best tutorial on it out there. Sure it's simple stuff, open ports, set firewall, enable connection to port on sql server. But that's usually where people stop, whereas you atleast went ahead and showed dummy code for testing the connection, which quite frankly, everyone should be doing to begin with, else you write up a ton of code and never even validated that you're connected.
@abraofrancisco7198
@abraofrancisco7198 6 жыл бұрын
Hi Andrew On how to connect without port forwarding can I use just the Hostname in case the ip changes or doesn't not change in free version?
@brianducharme3418
@brianducharme3418 4 жыл бұрын
Excellent Tutorial - thank you
@LPadillaCR
@LPadillaCR 4 жыл бұрын
Simply superb!
@diginetcomputer3390
@diginetcomputer3390 5 жыл бұрын
thanx it actually works the same way
@mousaqadry4276
@mousaqadry4276 6 жыл бұрын
one billion like .... i am sure that you are a big expert
@bradhoyer8446
@bradhoyer8446 4 жыл бұрын
Amazing video!!!!!!!!!! I’m trying to connect software to the database
@darryck99
@darryck99 3 жыл бұрын
You’re amazing!
@bernardcastillo4403
@bernardcastillo4403 11 ай бұрын
It's very helpful ❤❤❤ thanks a lot
@user-tf3zo5kj1k
@user-tf3zo5kj1k 5 жыл бұрын
thank's so much!!!
@jaservtechmotovlog
@jaservtechmotovlog 4 жыл бұрын
awesome, thanks bro
@MrYemenBoy
@MrYemenBoy 2 жыл бұрын
Very helpful video.. How about if the isp ip change.. Is there away to get around.??
@afzalhossainbd
@afzalhossainbd 4 жыл бұрын
Hi, I have done exactly the same as you have described, I can access the local network, not a problem, but I can not access the internet. What is my IP is always changing after some time.
@gax18
@gax18 6 жыл бұрын
Can you tell me the problem when i put my ip address in the server name it will connect but when i tried to enter the public ip address it gives network or instance error i really dont know can you help me out?
@alyagoot94
@alyagoot94 6 жыл бұрын
thank you very much you'r really awesome , i just make my own db my pc home and connect from work db , thanks man
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
+Kankon thank you :)
@tracysu1778
@tracysu1778 5 жыл бұрын
How to link sql database @ work pc from home?
@khld1976
@khld1976 2 жыл бұрын
Some people say that this kind of connection string with the user ID and password can be unsafe and susceptible to hacking. Is this true or is the connection string encrypted in such a way that it cannot be intercepted over the internet?
@tristaniexceed2260
@tristaniexceed2260 7 жыл бұрын
hey Andrew. your tutorials are very easy to understand. if I may ask, how can you make a data from a database appear in a text. and change it if you changed the primary key. for example. there's a text box where you input your ID Id =1 username = Hello password = world and when I change the Id in the text box the username and password changes according to the row in the database.thank you I am also using visual studios visual basic 2015 and SQL. sorry for bad English
@ANdR3WISCOOL
@ANdR3WISCOOL 7 жыл бұрын
you could write a query, something like username = from person in mytable Where id = 1 Select(person.username) and so on.
@tristaniexceed2260
@tristaniexceed2260 7 жыл бұрын
Thank you for replying. hope you could upload more tutorials bro. :) godbless!!!
@max-kw5lf
@max-kw5lf Жыл бұрын
love u mate
@rexregalado6176
@rexregalado6176 6 жыл бұрын
thanks bro..
@bradhoyer8446
@bradhoyer8446 4 жыл бұрын
How do I connect the software to my sql server? It keeps saying check network connections but there are all good!
@egysoft100
@egysoft100 4 жыл бұрын
Perfect, Thanks ..........
@Keracher94
@Keracher94 3 жыл бұрын
Your video is very good; works well from my computer. But I cannot get this to work from other computers! Also why do you not cover appconfig?
@lhrintl8736
@lhrintl8736 10 ай бұрын
Thanks Andrew.
@blurptv2352
@blurptv2352 6 жыл бұрын
sir i use to connect sql database via ODBC. Can you make a tutorial in odbc that can be connected in the internet or can be access?
@yerkoantonioalvarez
@yerkoantonioalvarez Жыл бұрын
and how it done when the public ip changes dynamicly?
@snowiethetoolguy
@snowiethetoolguy 2 жыл бұрын
Tidy job... thanks
@keremislim
@keremislim 6 жыл бұрын
Awesome Thank you.
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
Problem yok abi
@aashishagarwal6649
@aashishagarwal6649 5 жыл бұрын
I tried using 1433 for named instance but it's not working... Plz suggest
@rohanbimalraj3020
@rohanbimalraj3020 4 жыл бұрын
How do you connect it in Windows form app using c#
@chjayakrishnajk
@chjayakrishnajk 4 жыл бұрын
bro I have quick heal total security I how can I add packet value
@logentheranmaratthandavar7978
@logentheranmaratthandavar7978 3 жыл бұрын
Bro you are such a boooooommmmmm!!!!!!.... I Subscribed you.
@ANdR3WISCOOL
@ANdR3WISCOOL 3 жыл бұрын
Thanks man 😊
@techz7675
@techz7675 5 жыл бұрын
Cool video
@Issus94
@Issus94 3 жыл бұрын
if another PC wants to make a query from your created database, does your pc have be on all the time?
@ANdR3WISCOOL
@ANdR3WISCOOL 3 жыл бұрын
Yes, the server must remain on
@Aidan.17
@Aidan.17 3 жыл бұрын
Default port 1433 should only be used for default instance named instances are dynamic. Sorry had to mention this because used to see lots of IT guys using named instances trying to force 1433 and it causes a few probs.
@jimmynongololikidev.3361
@jimmynongololikidev.3361 7 жыл бұрын
Merci pour cet tutoriel cest vraiment secourant
@profipix
@profipix 6 жыл бұрын
I did exactly as in the video. No antivirus to worry about. Running windows 10. When I port check, port 1433 works but not 1434. When I use the public IP "xx.xxx.xxx.xxx/SQLSERVER", I get the error that the network path is not found. I also tried just using the public IP without the server path. So, port 1433 works good, 1434 is not open, though already port forwarded. Not sure what to make of this.
@Easyali1
@Easyali1 4 жыл бұрын
does it require Static IP....
@amigostv3403
@amigostv3403 3 жыл бұрын
sir, can u give me the download link of that SQL Server plsss. or what SQLSERVER version is that?
@ilaBaroIT
@ilaBaroIT 5 жыл бұрын
well I was search this for months
@raedeid8309
@raedeid8309 2 жыл бұрын
great
@liamtwine2267
@liamtwine2267 3 жыл бұрын
its asking me to connect to a server? but obv i dont have one yet
@saarkcomputers8555
@saarkcomputers8555 Жыл бұрын
Sir We are using Quick Heal and there is no Option of Add Pocket Rule, We followed all instructions as you shown, But its not working on Windows 11
@mukilana555
@mukilana555 6 жыл бұрын
How To Use Instance Name Connection And Use Another PORT ID change Option
@HardcoreEDM
@HardcoreEDM 10 ай бұрын
First of all, port forwarding only work if you are out of LAN, if you in an area where your ISP formed a large LAN, you won't able to make that work, especially those live in apartment/flat/condominium. So you have to change your internet plan, get Static IP address or ask for a single line beside sharing within the resident area.
@mukilana555
@mukilana555 6 жыл бұрын
1433 in SQLEXPRESS instance ID , I want NAMED INSTANCE Port ID
@ademajames7250
@ademajames7250 4 жыл бұрын
Thanks
@JanezKrnc-San
@JanezKrnc-San 6 жыл бұрын
Hello! My IPAll on TCP/IP properties is set to a different port than default 1433. Its on 50123 (all others are on 1433). I've added inbound/outbound exception in firewall for both 1433 and 50123, as well as adding SQL server and sql browser application exceptions. Connecting to server doesn't work (tried xx.xxx.xx.xxx also xx.xxx.xx.xxx,1433 also xx.xxx.xx.xxx,50123 Nothing works. What else do you suggest i change/try (possibly regarding my 50123 port) ? I've spent many hours and all the tutorials/troubleshooters about it say the same things and i've done all that. Connecting to it locally (xxx.xxx.x.x,50123) works. Gosh please help. P.S.: Remote connection is allowed, TCP/IP enabled everywhere (as well as named pipes).
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
is your port forwarding working?
@JanezKrnc-San
@JanezKrnc-San 6 жыл бұрын
Oh man. I was waiting for a guy at the firm to do the port forwarding while i wrote this comment. tbh, wasn't convinced that that would straight solve the issue in itself, but it DID! Kind of embarrased I didn't wait until a thing you specifically said in the video would get done before writing a comment. Anyways thank you so much! You saved me alot of frustration :) Other pages i've looked didn't mention port forwarding much at all.
@JanezKrnc-San
@JanezKrnc-San 6 жыл бұрын
After port forwarding was set for both 1433 and 50123 ports, I could connect via internet by specifying server name as: ",50123" in case someone else has an issue with different port than default.
@abdulsms
@abdulsms 6 жыл бұрын
How to run vb.net program through vpn
@qual1481
@qual1481 2 жыл бұрын
When i create the database on my desktop machine at home, then say i go to college with my laptop, would i be able to access the database even if my home machine is turned off?
@ANdR3WISCOOL
@ANdR3WISCOOL 2 жыл бұрын
Hey there, no sorry, the machine would need to be turned on in order to access the database
@qual1481
@qual1481 2 жыл бұрын
@@ANdR3WISCOOL Okay thank you for the reply
@ANdR3WISCOOL
@ANdR3WISCOOL 2 жыл бұрын
@@qual1481 no worries, good luck at college 😊
@nesvlogs7465
@nesvlogs7465 5 жыл бұрын
However, when i reset router, my IP address in web 'what is my ip change'. How to repair it?
@ANdR3WISCOOL
@ANdR3WISCOOL 5 жыл бұрын
Cảnh Phim Hay you will need a static IP address, if not, check out my video on doing it without port forwarding
@evermovie461
@evermovie461 4 жыл бұрын
@@ANdR3WISCOOL where is the video
@amoscookie1336
@amoscookie1336 9 ай бұрын
Then the only option is😢 is to expode the who SQL DB to internet. Is there a better way of doing things
@manthangohel9237
@manthangohel9237 3 жыл бұрын
Let's say I made a Windows form in VB.Net and connected it to the SQL Server over the internet in my machine... If I share the project with my friend who hasn't done the whole process of making the SQL Server work over the internet.... Then will he be able to access the database over the internet or he will be required to enable the SQL Server too?
@ianvisser7899
@ianvisser7899 Жыл бұрын
The app is just a front end. So your friend will be able to connect to the same server as you.
@tracysu1778
@tracysu1778 5 жыл бұрын
How to connect sql database working network from home network? Plz
@manojdebnath3242
@manojdebnath3242 3 жыл бұрын
👍👍👍👍
@surtole7584
@surtole7584 5 жыл бұрын
MY password becomes something different and i dont know what it is!
@sarlemonvannasing705
@sarlemonvannasing705 6 жыл бұрын
Dear sir, it means via internet not local network right...!
@mujabdillah2618
@mujabdillah2618 6 жыл бұрын
hello sir. I followed all your steps but still i cannot access my mssql throught internet. can you please help me? i already shutdown my firewall becase it is one to my suspect but still cannot access it.
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
your ISP might not allow portforwarding, I will make a video in the near future on what to do if you cant port forward.
@mujabdillah2618
@mujabdillah2618 6 жыл бұрын
now is the future. please sir :)
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
hahahahha good one lol, the next video I make will be for you.
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
here is a video on how you can connect to your sql server over the internet without portforwarding kzbin.info/www/bejne/imbOp4qwhcdsgdE
@incredibleG007
@incredibleG007 4 жыл бұрын
There is no need to set up Outbound new rule! Inbound is good enough!
@cliffordfrancisco8687
@cliffordfrancisco8687 6 жыл бұрын
I followed all the instructions but I still can't connect to the SQL Server... Why Sir? Can you tell me what is the reasons behind it?
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
your isp might have blocked your ports, here is a video on how you can connect to your sql server over the internet without portforwarding kzbin.info/www/bejne/imbOp4qwhcdsgdE
@ktan18879
@ktan18879 6 жыл бұрын
I have no problem with every single part except for the last one where there is an instance specific error
@chatchaiphongvicha9675
@chatchaiphongvicha9675 4 жыл бұрын
ขอแปะครับ
@gmteo3573
@gmteo3573 6 жыл бұрын
is this safe from the hackers?
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
Make sure your password is decent and that you don’t have your connection string in plain text
@charli384
@charli384 10 ай бұрын
I did all the steps but I can't connect via the internet
@jeetchheda8916
@jeetchheda8916 6 жыл бұрын
no matter what I do in India port forwarding is not working in any router please help me
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
jeet chheda see my video on accessing an sql server over the internet without port forwarding
@jeetchheda8916
@jeetchheda8916 6 жыл бұрын
Coding With Andrew Thanks actually just before u replied i was able to navigate there😅😂 thanks alot btw.
@jeetchheda8916
@jeetchheda8916 6 жыл бұрын
Coding With Andrew Hey Guess what.. I found another Method that could help the same way.. But it has a drawback, It Forwards ip only till the time the program is running.. and As soon as u start it again.. the adress changes.. The method was to use ngrok.exe
@ANdR3WISCOOL
@ANdR3WISCOOL 6 жыл бұрын
Here is a video on how you can connect to your sql server over the internet without port forwarding kzbin.info/www/bejne/imbOp4qwhcdsgdE
@mryan5522
@mryan5522 2 жыл бұрын
its so risky, ive tried to open port and boom. I got thousands of virus incoming.
@elwaddaly
@elwaddaly 5 жыл бұрын
I want to download this video >>> Why don't you let me do this ... please I need this video
@romansnellies
@romansnellies 4 жыл бұрын
www.sskzbin.info/www/bejne/oJi6gI2Ka9-Uack
@momloc7805
@momloc7805 2 жыл бұрын
you Test on same machine.
@nesvlogs7465
@nesvlogs7465 5 жыл бұрын
In your video, Your ID address is 101.160.5.181. Whene You reset your router, this id address is going to change
@ANdR3WISCOOL
@ANdR3WISCOOL 5 жыл бұрын
Cảnh Phim Hay correct, you have three options, create an application “like I did” to tell you your up address, use a static IP address or use hamachi
@nesvlogs7465
@nesvlogs7465 5 жыл бұрын
@@ANdR3WISCOOL hamachi? What is this?
@afsarali4754
@afsarali4754 2 жыл бұрын
Get at lost
@truckscalecambodia3523
@truckscalecambodia3523 2 жыл бұрын
hello sir can i contact you
How To Connect SQL Server with Internet
20:48
Kranthi Kumar
Рет қаралды 326 М.
How to allow remote connections to SQL Server Express
6:25
Voluntary DBA
Рет қаралды 135 М.
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 1,9 МЛН
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,5 МЛН
VB.NET Access Remote Database from Internet Hosting
15:10
Nosware
Рет қаралды 28 М.
How to access sql server from another computer
8:00
Digital Knack
Рет қаралды 53 М.
Client Server programming in VB.NET ( Chat application )
22:00
Coding World
Рет қаралды 19 М.
SQL Login with IP and Port
20:11
Thendo Bakali
Рет қаралды 10 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 3,1 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 703 М.