<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reading BP Server name in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Reading-BP-Server-name/m-p/100094#M47497</link>
    <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/35710"&gt;@SalmanAhmed&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I assume you're running this process on a resource PC that's separate from the BP Server? If so, I'm not sure there's an easy way to do that. I suppose you could pull the output of a &lt;EM&gt;&lt;STRONG&gt;netstat -a&lt;/STRONG&gt;&lt;/EM&gt; from the command line and filter for the BP servers port (default is 8199 I believe).&lt;BR /&gt;&lt;BR /&gt;Thinking about this a bit more, there is a command you can run against the resource PC's HTTP interface which will give you a list of all inbound and outbound connections to it. You could perform that using the Utility - HTTP VBO and then figure out the server from the information I think. The default information is in the form of IP addresses though, so you may have to perform an &lt;STRONG&gt;nslookup&lt;/STRONG&gt; to get a hostname from the IP.&lt;BR /&gt;&lt;BR /&gt;The command on the resource PC HTTP interface is &lt;EM&gt;&lt;STRONG&gt;connections&lt;/STRONG&gt;.&lt;/EM&gt; So it would look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="http://127.0.0.1:8181/connections" target="test_blank"&gt;http://127.0.0.1:8181/connections&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;The output looks something like this:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;OUTBOUND: disabled
INBOUND: 3
 ::1 (admin)
 127.0.0.1 ()
 127.0.0.1 ()&lt;/PRE&gt;
&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric​</description>
    <pubDate>Thu, 21 Oct 2021 17:06:46 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2021-10-21T17:06:46Z</dc:date>
    <item>
      <title>Reading BP Server name</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Reading-BP-Server-name/m-p/100093#M47496</link>
      <description>Hi Everyone - Is there any way to get BP Server name from process level?</description>
      <pubDate>Thu, 21 Oct 2021 11:55:57 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Reading-BP-Server-name/m-p/100093#M47496</guid>
      <dc:creator>SalmanAhmed</dc:creator>
      <dc:date>2021-10-21T11:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading BP Server name</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Reading-BP-Server-name/m-p/100094#M47497</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/35710"&gt;@SalmanAhmed&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I assume you're running this process on a resource PC that's separate from the BP Server? If so, I'm not sure there's an easy way to do that. I suppose you could pull the output of a &lt;EM&gt;&lt;STRONG&gt;netstat -a&lt;/STRONG&gt;&lt;/EM&gt; from the command line and filter for the BP servers port (default is 8199 I believe).&lt;BR /&gt;&lt;BR /&gt;Thinking about this a bit more, there is a command you can run against the resource PC's HTTP interface which will give you a list of all inbound and outbound connections to it. You could perform that using the Utility - HTTP VBO and then figure out the server from the information I think. The default information is in the form of IP addresses though, so you may have to perform an &lt;STRONG&gt;nslookup&lt;/STRONG&gt; to get a hostname from the IP.&lt;BR /&gt;&lt;BR /&gt;The command on the resource PC HTTP interface is &lt;EM&gt;&lt;STRONG&gt;connections&lt;/STRONG&gt;.&lt;/EM&gt; So it would look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="http://127.0.0.1:8181/connections" target="test_blank"&gt;http://127.0.0.1:8181/connections&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;The output looks something like this:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;OUTBOUND: disabled
INBOUND: 3
 ::1 (admin)
 127.0.0.1 ()
 127.0.0.1 ()&lt;/PRE&gt;
&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric​</description>
      <pubDate>Thu, 21 Oct 2021 17:06:46 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Reading-BP-Server-name/m-p/100094#M47497</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-10-21T17:06:46Z</dc:date>
    </item>
  </channel>
</rss>

