Re: connecting to sql svr express over internet
- From: kpg <no@xxxxxxxx>
- Date: Fri, 28 Aug 2009 10:29:02 -0700
"Sylvain Lafontaine" <sylvainlafontaine2009@xxxxxxxx> wrote in
news:#qNZVIAKKHA.3708@xxxxxxxxxxxxxxxxxxxx:
Beside removing the http:// as mentionned by Aaron, for the port
number, it must often be separated by a comma at the end of the
server's address when you when to specify it:
mydomainname.com\sqlexpress,1433
This is not always the case and it depends on the program used. You
can also add the prefix tcp: to specify the TCP protocol (or np: for
named pipe):
tcp:mydomainname.com\sqlexpress,1433
For ODBC, there are also situations where you must specify the correct
network library to be sure to use the TCP protocol. The best way of
dealing with these problem is to define in Alias - where you can
specify the address of the server and the protocol and the port (in
the case of TCP) to be used. See SQL Server Configuration Manager |
SQL Native Client Configuration | Aliases to create an alias.
As the port 1433 is not the regular port to be used with a named
instance, you should first verify on your LAN that you can indeed
connect to the server using this port.
Finally, you should check the configuration on the remote server,
especially the readdressing of the ports through the route: does the
router know that incoming connection on ports 1433 (and 1434?) must go
to right machine (the one hosting the SQL-Server)? For most
router/modem where you can connect more than a single machine, this
configuration must usually be done even when there is a single machine
connected to the router.
comma instead of colon? Interesting.
removing the http worked. See my reply to Aaron.
thanks
.
- References:
- connecting to sql svr express over internet
- From: kpg
- Re: connecting to sql svr express over internet
- From: Sylvain Lafontaine
- connecting to sql svr express over internet
- Prev by Date: Re: connecting to sql svr express over internet
- Next by Date: Re: IF ELSE Logic
- Previous by thread: Re: connecting to sql svr express over internet
- Index(es):
Relevant Pages
|