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
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
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.
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.
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?
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
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?
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.
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?
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?
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.
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.
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).
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.
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.
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 ua-cam.com/video/T5kvWzPb9Ko/v-deo.html
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
thank you , you are the only one who really aware about real remote connection to db all other spoke about local internet connection .
the explanation was great, i wish every one would explain programming just as good as you. Good Job.
Thanks Andrew for taking the time and effort to create such informative videos!
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
Bruh after watching your video I was able to connect to VM SQLExpress with no Problem super easy to follow your instructions. Thank you :)
Perfect video ! Really perfect video ! Including testing all the way ! Keep on.
That is great, easy and understandable way of teaching. Thank you so much.
Thank you for your kind words 😊
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.
Gracias, ya días he andado buscando esto y por fin lo encontré. Lo intentaré hacer.
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.
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.
This is a great, to the point, video. Subbed for sure.
one billion like .... i am sure that you are a big expert
Excellent Tutorial - thank you
Brilliant! Thanks for this - great explanation.
Amazing video!!!!!!!!!! I’m trying to connect software to the database
It's very helpful ❤❤❤ thanks a lot
Very helpful video..
How about if the isp ip change..
Is there away to get around.??
Thanks Andrew.
and how it done when the public ip changes dynamicly?
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?
thanx it actually works the same way
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?
awesome, thanks bro
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?
Simply superb!
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
you could write a query, something like
username = from person in mytable
Where id = 1
Select(person.username)
and so on.
Thank you for replying. hope you could upload more tutorials bro. :) godbless!!!
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
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?
Tidy job... thanks
There is no need to set up Outbound new rule! Inbound is good enough!
its asking me to connect to a server? but obv i dont have one yet
Dear sir, it means via internet not local network right...!
thank you very much you'r really awesome , i just make my own db my pc home and connect from work db , thanks man
+Kankon thank you :)
How to link sql database @ work pc from home?
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.
thank's so much!!!
You’re amazing!
Here is a video on how you can connect to your sql server over the internet without port forwarding
ua-cam.com/video/T5kvWzPb9Ko/v-deo.html
How do I connect the software to my sql server? It keeps saying check network connections but there are all good!
Bro you are such a boooooommmmmm!!!!!!.... I Subscribed you.
Thanks man 😊
Then the only option is😢 is to expode the who SQL DB to internet. Is there a better way of doing things
However, when i reset router, my IP address in web 'what is my ip change'. How to repair it?
Cảnh Phim Hay you will need a static IP address, if not, check out my video on doing it without port forwarding
@@ANdR3WISCOOL where is the video
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?
thanks bro..
if another PC wants to make a query from your created database, does your pc have be on all the time?
Yes, the server must remain on
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?
Hey there, no sorry, the machine would need to be turned on in order to access the database
@@ANdR3WISCOOL Okay thank you for the reply
@@qual1481 no worries, good luck at college 😊
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?
love u mate
I tried using 1433 for named instance but it's not working...
Plz suggest
How To Use Instance Name Connection And Use Another PORT ID change Option
bro I have quick heal total security I how can I add packet value
How do you connect it in Windows form app using c#
I did all the steps but I can't connect via the internet
Perfect, Thanks ..........
well
I was search this for months
great
does it require Static IP....
Awesome Thank you.
Problem yok abi
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.
sir, can u give me the download link of that SQL Server plsss. or what SQLSERVER version is that?
I have no problem with every single part except for the last one where there is an instance specific error
Cool video
Merci pour cet tutoriel cest vraiment secourant
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.
your ISP might not allow portforwarding, I will make a video in the near future on what to do if you cant port forward.
now is the future. please sir :)
hahahahha good one lol, the next video I make will be for you.
here is a video on how you can connect to your sql server over the internet without portforwarding
ua-cam.com/video/T5kvWzPb9Ko/v-deo.html
How to connect sql database working network from home network? Plz
Thanks
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).
is your port forwarding working?
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.
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.
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?
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
ua-cam.com/video/T5kvWzPb9Ko/v-deo.html
1433 in SQLEXPRESS instance ID , I want NAMED INSTANCE Port ID
How to run vb.net program through vpn
ขอแปะครับ
you Test on same machine.
its so risky, ive tried to open port and boom. I got thousands of virus incoming.
MY password becomes something different and i dont know what it is!
In your video, Your ID address is 101.160.5.181. Whene You reset your router, this id address is going to change
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
@@ANdR3WISCOOL hamachi? What is this?
👍👍👍👍
no matter what I do in India port forwarding is not working in any router please help me
jeet chheda see my video on accessing an sql server over the internet without port forwarding
Coding With Andrew Thanks actually just before u replied i was able to navigate there😅😂 thanks alot btw.
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
is this safe from the hackers?
Make sure your password is decent and that you don’t have your connection string in plain text
I want to download this video >>> Why don't you let me do this ... please I need this video
www.ssua-cam.com/video/jgWOZT6za3g/v-deo.html
Get at lost
hello sir can i contact you