<p>Took care of this with a combination of changing pchMessageStart values, baking my VPS seed node address into chainparamsseeds.h and adding rules to block outbound traffic to ports 9333 (and the other strange unsolicited connections to other altcoin nodes).</p>

CC BY-SA 4.0
2018-07-21T01:47:33.990Z
2018-07-21T01:47:33.990Z
apt-getschwifty
<p>I am building an altcoin using the litecoin source code.</p>

<p>I have removed all of the Emplace Seed calls in chainparams.cpp for DNS seeding, changed my default node communication port to port 421 and commented out all of the baked in seed nodes from chainparamsseeds.h, even added the dnsseed=0 and seed=0 to my config file and deleted my peers.dat before launching the core daemon, yet I still see clients connecting to my VPS for all different kinds of coins and swiftly ending up banned.</p>

<p>What am I missing? I can't find a single reason why these peers are connecting to my VPS.. Though it's not the end of the world because it has latched to my chain and only syncs blocks/headers with my other nodes, it looks very unprofessional. Any help would be appreciated!</p>

<p>Thanks!</p>

<ul>
<li>Schwifty</li>
</ul>

CC BY-SA 4.0
2018-07-17T19:29:17.613Z
Sounds like something related to your vps. Also, have you also changed to your own values for `pchMessageStart` in `chainparams.cpp`?
JBaczuk
CC BY-SA 4.0
2018-07-17T20:06:34.507Z
Hmm.. Everything with the VPS has gone smoothly to this point, and from what I can tell with netstat it is listening on the correct ports for node communication and mining. I don't believe I have changed values for pchMessageStart, I will look into this and edit my post or comment accordingly, I thank you kindly!
apt-getschwifty
CC BY-SA 4.0
2018-07-17T22:19:43.373Z
What I mean is your vps might be a target for bots looking for nodes.
JBaczuk
CC BY-SA 4.0
2018-07-18T12:32:25.247Z
Ah jesus, I hope not. I am going to use a different port and change pchMessageStart and bake in my VPS seed node IP the next time I rebuild so I will comment/answer if I manage to remedy the issue.
apt-getschwifty
<altcoin><altcoin-development><peers>
Unwanted peers connecting to Altcoin
apt-getschwifty
# Unwanted peers connecting to Altcoin

(Asked by: username_0 on 2018-07-17)

I am building an altcoin using the litecoin source code.

I have removed all of the Emplace Seed calls in chainparams.cpp for DNS seeding, changed my default node communication port to port 421 and commented out all of the baked in seed nodes from chainparamsseeds.h, even added the dnsseed=0 and seed=0 to my config file and deleted my peers.dat before launching the core daemon, yet I still see clients connecting to my VPS for all different kinds of coins and swiftly ending up banned.

What am I missing? I can't find a single reason why these peers are connecting to my VPS.. Though it's not the end of the world because it has latched to my chain and only syncs blocks/headers with my other nodes, it looks very unprofessional. Any help would be appreciated!

Thanks!

* Schwifty

**Tags:** altcoin, altcoin-development, peers

> **Comments:**
> **username_1**: Sounds like something related to your vps. Also, have you also changed to your own values for `pchMessageStart` in `chainparams.cpp`?  
> **username_0**: Hmm.. Everything with the VPS has gone smoothly to this point, and from what I can tell with netstat it is listening on the correct ports for node communication and mining. I don't believe I have changed values for pchMessageStart, I will look into this and edit my post or comment accordingly, I thank you kindly!  
> **username_1**: What I mean is your vps might be a target for bots looking for nodes.  
> **username_0**: Ah jesus, I hope not. I am going to use a different port and change pchMessageStart and bake in my VPS seed node IP the next time I rebuild so I will comment/answer if I manage to remedy the issue.  

---

## 1 answers

### Answer by username_0 on 2018-07-21. Score: 0 | Accepted answer

Took care of this with a combination of changing pchMessageStart values, baking my VPS seed node address into chainparamsseeds.h and adding rules to block outbound traffic to ports 9333 (and the other strange unsolicited connections to other altcoin nodes).


---

