Monday, February 20, 2012

Remote connection problems

Hi
I'm having problems connecting remotely to my sql 2005 server
sql instance is atl64\compaq
ip is x
and i would like to use a different port let's say 62322
how do i configure my server and how do i connect using either sql
query analyzer or Sql server management studio
i tried to :
set the port to 62322 in sql server configuration manager
set local and remote connection using tcp/ip only in remote connection
in surface area connection
i tried to connect to server management studio with
server name : ipadress,62322
or
server name : ipadress:62322
both not working
i still get error ... sql does not allow remote connection ...
any help
thanks
Forgot to mention
xp firewall if off
router will route port 62322 to 1433 (i tried with routing and without
nothing works)
also what would be the correct server name to connect using a different
port ?
servername,port
or
servername:port
thanks
frederic.nou...@.gmail.com wrote:
> Hi
> I'm having problems connecting remotely to my sql 2005 server
> sql instance is atl64\compaq
> ip is x
> and i would like to use a different port let's say 62322
> how do i configure my server and how do i connect using either sql
> query analyzer or Sql server management studio
> i tried to :
> set the port to 62322 in sql server configuration manager
> set local and remote connection using tcp/ip only in remote connection
> in surface area connection
> i tried to connect to server management studio with
> server name : ipadress,62322
> or
> server name : ipadress:62322
> both not working
> i still get error ... sql does not allow remote connection ...
> any help
> thanks
|||The "sql does not allow remote connection" error makes me think that you
need to restart SQL Server. It doesn't listen on the new port until
restarted.
Also, you can check the error log to see what port it's listening on.
servername,port should do the trick.
Rick Byham
MCDBA, MCSE, MCSA
Documentation Manager,
Microsoft, SQL Server Books Online
This posting is provided "as is" with
no warranties, and confers no rights.
<frederic.nourry@.gmail.com> wrote in message
news:1138697240.871053.309700@.g44g2000cwa.googlegr oups.com...
> Forgot to mention
> xp firewall if off
> router will route port 62322 to 1433 (i tried with routing and without
> nothing works)
> also what would be the correct server name to connect using a different
> port ?
> servername,port
> or
> servername:port
> thanks
>
> frederic.nou...@.gmail.com wrote:
>
|||Thanks Rick
looking at the event viewer I found that the server is listening to
2414
change to server,2414 worked fine
i noticed that, that is the port configured under IPAll, dynamic ports
in server configuration manager
shouldn't i change the port for ip1 and ip2 ?
thanks now i can work
|||This is a confusing aspect of the tool. If the TCP/IP Properties, Protocol
tab has Listen All as Yes, then the individual settings for IP1 and IP2 are
not necessary. If you want to make do different things, you must first
change Listen All to No, and then change the IP settings.
And since one of the IP addresses is the loopback adapter 127.0.0.1, which
isn't visible over the network, you can ignore that. So right now, it sounds
like you are listening on dynamic ports and it is currently listening on
port 2414. If you stop and restart SQL Server, it might come up on a
different port. If that's a problem, remove the 0 from TCP Dynamic Ports,
and pick a port number you like, and then restart SQL Server.
Sorry this is confusing. SP1 will have some new wording in the help topic to
try and clarify this. (No, I don't know when SP1 will be released. <g>)
Rick Byham
MCDBA, MCSE, MCSA
Documentation Manager,
Microsoft, SQL Server Books Online
This posting is provided "as is" with
no warranties, and confers no rights.
<frederic.nourry@.gmail.com> wrote in message
news:1138768634.322274.24780@.o13g2000cwo.googlegro ups.com...
> Thanks Rick
> looking at the event viewer I found that the server is listening to
> 2414
> change to server,2414 worked fine
> i noticed that, that is the port configured under IPAll, dynamic ports
> in server configuration manager
> shouldn't i change the port for ip1 and ip2 ?
> thanks now i can work
>

No comments:

Post a Comment