﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by sunshine  / Get SQL Server IP Address / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 18:12:00 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Get SQL Server IP Address</title><link>http://www.sqlservercentral.com/Forums/Topic1152292-1318-1.aspx</link><description>Hi   How i can get all remote servers IP add and host name ? you have any updated script?</description><pubDate>Thu, 16 Feb 2012 13:46:01 GMT</pubDate><dc:creator>logicinside22</dc:creator></item><item><title>RE: Get SQL Server IP Address</title><link>http://www.sqlservercentral.com/Forums/Topic1152292-1318-1.aspx</link><description>[quote]Select   client_net_address,local_net_addressfrom sys.dm_exec_connectionswhere session_id=@@SPId;[/quote]- This worksYours does not on our cluster evironment (NULL)[quote]    create table #temp (ipLine varchar(200))    insert  #temp            exec master..xp_cmdshell 'ipconfig'[/quote]</description><pubDate>Fri, 30 Sep 2011 13:09:25 GMT</pubDate><dc:creator>vlad-548036</dc:creator></item><item><title>RE: Get SQL Server IP Address</title><link>http://www.sqlservercentral.com/Forums/Topic1152292-1318-1.aspx</link><description>Awesome!Thanks!</description><pubDate>Wed, 03 Aug 2011 22:36:18 GMT</pubDate><dc:creator>sunshine-587009</dc:creator></item><item><title>RE: Get SQL Server IP Address</title><link>http://www.sqlservercentral.com/Forums/Topic1152292-1318-1.aspx</link><description>If you're running SQL Server 2005 or above you can use this (some shops disable xp_cmdshell):[code]Select   client_net_address,local_net_addressfrom sys.dm_exec_connectionswhere session_id=@@SPId;[/code]Limitation: You only get IP addresses if you're connective via TCP/IP. If you're local and using Shared Memory then those attributes don't exist. If you turn off Shared Memory (or any protocols except for TCP/IP) via Server Configuration Manager you will always get IP address for any connection using this technique.</description><pubDate>Tue, 02 Aug 2011 10:51:32 GMT</pubDate><dc:creator>Peter E. Kierstead</dc:creator></item><item><title>RE: Get SQL Server IP Address</title><link>http://www.sqlservercentral.com/Forums/Topic1152292-1318-1.aspx</link><description>Hi all!I suggest a little add on to this 'IP-script' as follows:OR upper (ipLine) like '%IPv4 ADDRESS%'Cheers,Bertil F</description><pubDate>Tue, 02 Aug 2011 00:20:40 GMT</pubDate><dc:creator>Bertil Forsberg</dc:creator></item><item><title>Get SQL Server IP Address</title><link>http://www.sqlservercentral.com/Forums/Topic1152292-1318-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/IP+Addresses/75193/"&gt;Get SQL Server IP Address&lt;/A&gt;[/B]</description><pubDate>Mon, 01 Aug 2011 23:22:12 GMT</pubDate><dc:creator>sunshine-587009</dc:creator></item></channel></rss>