---
title: "Netprobe - Why does a rejection message appear in my Netprobe log when trying to connect my netprobe to a gateway?"
description: "Netprobe connection rejection occurs when it is already connected to another gateway. Check netprobe and gateway logs to verify connections and ensure unique ports for each netprobe."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004022545-geneos-netprobe-why-does-a-rejection-message-appear-in-my-netprobe-log-when-trying-to-connect-my-netprobe-to-a-gateway/index.html"
---
The below information appears, when a connection from a netprobe is getting **rejected** by the  gateway as it is **already connected to another gateway**.

```
<Sat Feb 25 02:30:54> INFO: GW Accepting connection from gateway named 'geneos-dr'. <Sat Feb 25 02:30:54> INFO: ORB Gateway 'geneos-dr' from denpda3gwitr02 is not the  first and has been rejected. Gateway is SECONDARY. Primary Gateway name is geneos-dr  connected from denpda3gwitr01:52586. <Sat Feb 25 02:30:54> INFO: ORB Adding to the non-master list. (0x3bbeab0)
```
In the above example:

- Netprobe **rejects** gateway connection to '*geneos-*dr' from *denpda3gwitr02* - This is because it is **already connected** to the following **gateway**: *denpda3gwitr01* (10.223.132.48)
**Reasons why this occurs:**

1. 1x netprobe can ONLY have a 1:1 relationship with 1x gateway - to add more monitoring, you will need to install a 2nd netprobe and ensure it is running on a **different port**

2. Double check that each netprobe connection is different i.e. use the **right port number for each connecting netprobe**

3. If you're running a hot-stand by pair, the gateway may now think its primary. The gateway name will be the same, but will have a **different** ***IP Address**.* This information will be available on the netprobe log to which gateway it is connecting to

4. There is a conflict between 2x network interfaces - check if the correct gateway is being connected to, by checking the connections in the gateway log as well as the netprobe log. The information can be found further towards the start of the log
1. Netprobe log - will show which gateway it is connecting to
2. Gateway log - will show all the connected netprobes on that gateway
You can check & confirm which gateway the netprobe is connecting to by running the following command on the netprobe server:  **netstat -panut
grep** <*netprobe port number*>

``` [root@dendrc3apadt02 sarella]# netstat -panut
grep 7036 tcp 0 0 0.0.0.0:7036 0.0.0.0:* LISTEN 7712/netprobe.linux tcp 0 0 10.219.117.112:7036 10.223.132.48:38128 ESTABLISHED 7712/netprobe.linux ```
The above output tells us that netprobe *dendrc3apqts02* is connecting to a gateway and gives the following IP address of that gateway (**10.223.132.48**)


