March 28, 2013 at 3:46 am
not able to connect after changing the port number.
March 28, 2013 at 6:01 am
charipg (3/28/2013)
not able to connect after changing the port number.
What with?
Where from?
What did you change from what to what?
If you can try running this code on the SQL server that you have changed and post the results:
declare @T table (logDate datetime , ProcessInfo sysname , [text] varchar(800));
insert @T exec xp_readerrorlog;
select LogDate , [TEXT]
from @T
where [TEXT] like 'Server is listening%'
order by logDate;
March 28, 2013 at 8:45 am
- Is sqlbrowser running ?
- are you specifying the port number in your connection data ? If yes: did you modify it ?
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
March 29, 2013 at 4:24 am
changed port number via sqlserver configuration.
Restarted the sqlserver service.
trying to connect sqlserver instace via SSMS.
do i need to update the port number in any where else ?
March 29, 2013 at 4:59 am
Where can you connect from?
locally on the server but not from a remote machhine then it wold indicate that either a fire wall (or a router with an access control list) is blocking you.
If you cant log in locally on the server look at the event logs and the error log (C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Log or some similar place) and see if you get an error.
If its from only a certain type of application then have a look at the connection string.
As an aside what did you change the port number from and to?
March 29, 2013 at 6:13 am
i try to connect locally.
March 29, 2013 at 6:43 am
changed port number from 1433 to 1440.
No errors found in log.
March 29, 2013 at 6:45 am
if SQL browser is not running, are you explicitly adding the port to your connection? how are you connecting locally?
Lowell
March 29, 2013 at 6:55 am
i am able to connect with instancename with port number but i need to connect without mention the port number.
March 29, 2013 at 6:58 am
sql browser is running fine..
March 29, 2013 at 7:05 am
you are very, very sparse on the details.
is there more than one instance of SQL on the machine, and that is why you changed the port number?
why did you change the port number anyway?
SQL browser , if it is running, will direct connections if they try to connect to say, MyMachine\SQL2012 to the right port, and usually that is the dynamic port, becasue a different, default instance is listening on 1433. If that is the only instance, then change the port number back.
Lowell
March 29, 2013 at 7:20 am
charipg (3/29/2013)
i am able to connect with instancename with port number but i need to connect without mention the port number.
Then what is the name of the instance that you are trying to connect to??
March 29, 2013 at 10:35 am
Please restart browser service and then check.
Note: Assuming here is no new security/firewal rules applied between client and server.
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply