Try this:
USE master
GO
xp_readerrorlog 0, 1, N'Server is listening on'
GO
http://www.mssqltips.com/sqlservertip/2495/identify-sql-server-tcp-ip-port-being-used/
More Related Contents:
- Using merge..output to get mapping between source.id and target.id
- SQL Server, How to set auto increment after creating a table without data loss?
- How can I truncate a datetime in SQL Server?
- Errors: “INSERT EXEC statement cannot be nested.” and “Cannot use the ROLLBACK statement within an INSERT-EXEC statement.” How to solve this?
- How to add Active Directory user group as login in SQL Server
- Why use the INCLUDE clause when creating an index?
- How to set a default value for an existing column
- An attempt was made to access a socket in a way forbidden by its access permissions
- SQL Server: combining multiple rows into one row
- SQL Server Query: Fast with Literal but Slow with Variable
- How do I find a stored procedure containing ?
- Should every User Table have a Clustered Index?
- An attempt to login using SQL authentication failed
- How to set monday as first day of week in SQL Server
- SQL Server, the misleading XLOCK & optimizations
- Drop primary key using script in SQL Server database [duplicate]
- SQL Server 2008 – How do i return a User-Defined Table Type from a Table-Valued Function?
- Changing SQL Server collation to case insensitive from case sensitive?
- Sort Bullets in Database
- Unable to login to SQL Server + SQL Server Authentication + Error: 18456
- What’s the best way to store co-ordinates (longitude/latitude, from Google Maps) in SQL Server?
- Database design: Calculating the Account Balance
- Instead of trigger in SQL Server loses SCOPE_IDENTITY?
- INFORMATION_SCHEMA vs sysobjects
- Merge multiple rows into a single row
- In SQL Server, how can I find everywhere a column is referenced?
- ‘Incorrect SET Options’ Error When Building Database Project
- Using Full-Text Search in SQL Server 2008 across multiple tables, columns
- Why insert-select to variable table from XML variable so slow?
- Generate MD5 hash string with T-SQL