Post
Topic
Board Announcements (Altcoins)
Re: NEM (XEM) Official Thread -100% Original Codebase - Over 70 Team Members
by
ciappa
on 07/04/2015, 15:58:52 UTC
Changing the port, i become this error:

ERROR 305

The NEM Infrastructure Server (NIS) is not available. Try to restart the NEM software. If you are using a remote NIS, check your configured host for typing errors or use another remote NIS.


as soon as i turn back to default port, nis turns available...

Well, this is because your NIS booted with the default port. Now you're trying to connect to a different port but nothing's there. If you want to boot NIS with a port other than default, you have to change the config file @ path-to-nem/nis/config.properties. You'll find nem.httpPort = 7890 and nem.httpsPort = 7891 in that file. Change the values. Then restart NIS and do the same you tried earlier: change the port in your NCC according to what you just specified.

BUT you probably wanted to change the port of NCC, did you? head over to path-to-nem/ncc/config.properties, change nem.httpPort = 8989 and nem.httpsPort = 9090 to the port(s) you wish to use & reboot the NEM software.

OR to simply restrict outside access to port 8989, do as amytheplanarshift suggested above, block the port.

@ciappa: Entschuldige, falls das verwirrend wirkt. Wenn du lediglich nicht möchtest, dass jemand "von außen" dein NCC aufrufen kann, dann blockiere via Firewall den Port 8989 (der Port über den der Nem-Community-Client standardmäßig läuft).




Thank you for your very good description.

I had blocked port 8989 now! Due i want be sure, i need to change the port 7890 too. I had changed the port 7890 and 7891 in nis - config file as described to something similiar to 6555 and 6556.
I had restarted router, client, and pc, changed the client port setting, but as soon as i change the port into client, nis does not working anymore! As soon as i switch back to port 7890 (in NEM client), NIS retourns to work. But i have changed already the config file with wordpad.. What is the problem?