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

Поділитися
Вставка
  • Опубліковано 26 сер 2024
  • 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

КОМЕНТАРІ • 109

  • @Hero1Alfa
    @Hero1Alfa 5 років тому +3

    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 роки тому +4

    the explanation was great, i wish every one would explain programming just as good as you. Good Job.

  • @foreigner2thisworld
    @foreigner2thisworld 4 роки тому +3

    Thanks Andrew for taking the time and effort to create such informative videos!

  • @JohanSandq
    @JohanSandq 4 роки тому +2

    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

  • @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 :)

  • @vladanulardzic5859
    @vladanulardzic5859 5 років тому +3

    Perfect video ! Really perfect video ! Including testing all the way ! Keep on.

  • @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 😊

  • @HardcoreEDM
    @HardcoreEDM Рік тому

    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.

  • @josueosorio4256
    @josueosorio4256 2 роки тому

    Gracias, ya días he andado buscando esto y por fin lo encontré. Lo intentaré hacer.

  • @StoryTimeTreasurefsfun
    @StoryTimeTreasurefsfun 4 роки тому +1

    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.

  • @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.

  • @charlesledford2151
    @charlesledford2151 5 років тому

    This is a great, to the point, video. Subbed for sure.

  • @mousaqadry4276
    @mousaqadry4276 6 років тому

    one billion like .... i am sure that you are a big expert

  • @brianducharme3418
    @brianducharme3418 4 роки тому +1

    Excellent Tutorial - thank you

  • @pw.70
    @pw.70 3 роки тому

    Brilliant! Thanks for this - great explanation.

  • @bradhoyer8446
    @bradhoyer8446 4 роки тому

    Amazing video!!!!!!!!!! I’m trying to connect software to the database

  • @bernardcastillo4403
    @bernardcastillo4403 Рік тому

    It's very helpful ❤❤❤ thanks a lot

  • @MrYemenBoy
    @MrYemenBoy 2 роки тому

    Very helpful video..
    How about if the isp ip change..
    Is there away to get around.??

  • @lhrintl8736
    @lhrintl8736 11 місяців тому

    Thanks Andrew.

  • @yerkoantonioalvarez
    @yerkoantonioalvarez Рік тому

    and how it done when the public ip changes dynamicly?

  • @abraofrancisco7198
    @abraofrancisco7198 6 років тому +1

    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?

  • @diginetcomputer3390
    @diginetcomputer3390 5 років тому

    thanx it actually works the same way

  • @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?

  • @jaservtechmotovlog
    @jaservtechmotovlog 4 роки тому +1

    awesome, thanks bro

  • @gax18
    @gax18 6 років тому +1

    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?

  • @LPadillaCR
    @LPadillaCR 4 роки тому

    Simply superb!

  • @tristaniexceed2260
    @tristaniexceed2260 7 років тому +1

    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 років тому +1

      Thank you for replying. hope you could upload more tutorials bro. :) godbless!!!

  • @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

  • @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?

  • @snowiethetoolguy
    @snowiethetoolguy 2 роки тому

    Tidy job... thanks

  • @incredibleG007
    @incredibleG007 4 роки тому +1

    There is no need to set up Outbound new rule! Inbound is good enough!

  • @liamtwine2267
    @liamtwine2267 3 роки тому

    its asking me to connect to a server? but obv i dont have one yet

  • @sarlemonvannasing705
    @sarlemonvannasing705 6 років тому +1

    Dear sir, it means via internet not local network right...!

  • @alyagoot94
    @alyagoot94 7 років тому

    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  7 років тому

      +Kankon thank you :)

    • @tracysu1778
      @tracysu1778 5 років тому

      How to link sql database @ work pc from home?

  • @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.

  • @user-tf3zo5kj1k
    @user-tf3zo5kj1k 5 років тому +2

    thank's so much!!!

  • @darryck99
    @darryck99 3 роки тому

    You’re amazing!

  • @ANdR3WISCOOL
    @ANdR3WISCOOL  6 років тому +1

    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

  • @bradhoyer8446
    @bradhoyer8446 4 роки тому

    How do I connect the software to my sql server? It keeps saying check network connections but there are all good!

  • @logentheranmaratthandavar7978
    @logentheranmaratthandavar7978 3 роки тому

    Bro you are such a boooooommmmmm!!!!!!.... I Subscribed you.

  • @amoscookie1336
    @amoscookie1336 10 місяців тому

    Then the only option is😢 is to expode the who SQL DB to internet. Is there a better way of doing things

  • @nesvlogs7465
    @nesvlogs7465 5 років тому +1

    However, when i reset router, my IP address in web 'what is my ip change'. How to repair it?

    • @ANdR3WISCOOL
      @ANdR3WISCOOL  5 років тому +1

      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

  • @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?

  • @rexregalado6176
    @rexregalado6176 6 років тому +1

    thanks bro..

  • @Issus94
    @Issus94 3 роки тому

    if another PC wants to make a query from your created database, does your pc have be on all the time?

  • @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 😊

  • @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?

  • @max-kw5lf
    @max-kw5lf Рік тому

    love u mate

  • @aashishagarwal6649
    @aashishagarwal6649 6 років тому

    I tried using 1433 for named instance but it's not working...
    Plz suggest

  • @mukilana555
    @mukilana555 6 років тому

    How To Use Instance Name Connection And Use Another PORT ID change Option

  • @chjayakrishnajk
    @chjayakrishnajk 4 роки тому

    bro I have quick heal total security I how can I add packet value

  • @rohanbimalraj3020
    @rohanbimalraj3020 4 роки тому

    How do you connect it in Windows form app using c#

  • @charli384
    @charli384 11 місяців тому

    I did all the steps but I can't connect via the internet

  • @egysoft100
    @egysoft100 4 роки тому

    Perfect, Thanks ..........

  • @ilaBaroIT
    @ilaBaroIT 5 років тому +1

    well
    I was search this for months

  • @raedeid8309
    @raedeid8309 2 роки тому

    great

  • @Easyali1
    @Easyali1 4 роки тому

    does it require Static IP....

  • @keremislim
    @keremislim 6 років тому

    Awesome Thank you.

  • @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.

  • @amigostv3403
    @amigostv3403 4 роки тому

    sir, can u give me the download link of that SQL Server plsss. or what SQLSERVER version is that?

  • @ktan18879
    @ktan18879 6 років тому

    I have no problem with every single part except for the last one where there is an instance specific error

  • @techz7675
    @techz7675 5 років тому

    Cool video

  • @jimmynongololikidev.3361
    @jimmynongololikidev.3361 7 років тому +1

    Merci pour cet tutoriel cest vraiment secourant

  • @mujabdillah2618
    @mujabdillah2618 6 років тому +1

    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 років тому +1

      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

  • @tracysu1778
    @tracysu1778 5 років тому

    How to connect sql database working network from home network? Plz

  • @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 років тому +2

      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 років тому +1

      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.

  • @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
      ua-cam.com/video/T5kvWzPb9Ko/v-deo.html

  • @mukilana555
    @mukilana555 6 років тому

    1433 in SQLEXPRESS instance ID , I want NAMED INSTANCE Port ID

  • @abdulsms
    @abdulsms 6 років тому

    How to run vb.net program through vpn

  • @chatchaiphongvicha9675
    @chatchaiphongvicha9675 4 роки тому +1

    ขอแปะครับ

  • @momloc7805
    @momloc7805 2 роки тому

    you Test on same machine.

  • @mryan5522
    @mryan5522 2 роки тому

    its so risky, ive tried to open port and boom. I got thousands of virus incoming.

  • @surtole7584
    @surtole7584 5 років тому

    MY password becomes something different and i dont know what it is!

  • @nesvlogs7465
    @nesvlogs7465 5 років тому +1

    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?

  • @manojdebnath3242
    @manojdebnath3242 3 роки тому

    👍👍👍👍

  • @jeetchheda8916
    @jeetchheda8916 6 років тому

    no matter what I do in India port forwarding is not working in any router please help me

    • @ANdR3WISCOOL
      @ANdR3WISCOOL  6 років тому +1

      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

  • @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

  • @elwaddaly
    @elwaddaly 5 років тому

    I want to download this video >>> Why don't you let me do this ... please I need this video

    • @romansnellies
      @romansnellies 5 років тому

      www.ssua-cam.com/video/jgWOZT6za3g/v-deo.html

  • @afsarali4754
    @afsarali4754 2 роки тому

    Get at lost

  • @truckscalecambodia3523
    @truckscalecambodia3523 2 роки тому

    hello sir can i contact you