{"id":1353,"date":"2016-05-07T16:19:30","date_gmt":"2016-05-07T16:19:30","guid":{"rendered":"\/?post_type=ht_kb&#038;p=1353"},"modified":"2018-10-29T13:11:43","modified_gmt":"2018-10-29T13:11:43","slug":"changing-your-ip-address","status":"publish","type":"ht_kb","link":"https:\/\/www.use-snip.com\/kb\/knowledge-base\/changing-your-ip-address\/","title":{"rendered":"Changing your IP address"},"content":{"rendered":"<p>The normal mode for the <span style=\"color: #0000ff;\"><strong>SNIP <\/strong><\/span><a href=\"\/kb\/knowledge-base\/question-what-is-an-ntrip-caster\/\" target=\"_blank\" rel=\"noopener\">Caster<\/a> is to reuse the last IP address and port number which you selected every time it runs.\u00a0 This address is then known by your <a href=\"\/kb\/knowledge-base\/question-what-is-an-ntrip-client\/\" target=\"_blank\" rel=\"noopener\">NTRIP Clients<\/a>, because you used a static IP or because you used a dynamic DNS with port forwarding. [During initial installation <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> will default to use the local host ID at 127.0.0.1 the first time it is run] \u00a0 In general this is a <em>set once and forget<\/em> type of setting.<\/p>\n<p>However, if you are using DHCP in your local network, the available IP can sometime change unexpectedly.\u00a0 You will likely notice this when <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> restarts after a power cycle with error messages in the console log like the example below:<\/p>\n<h6 style=\"padding-left: 30px;\"><span style=\"color: #ff0000;\"><strong>ERROR: Server not started! &#8211; Attempt was on IP:192.168.1.24 Port:2101<\/strong><\/span> \u00a0\u00a0 at Sat May 07 2016, 08:13:16AM (local machine time)<br \/>\n<span style=\"color: #ff0000;\"><strong>ERROR:<\/strong><\/span> Opening server socket failed.<br \/>\n<span style=\"color: #ff0000;\"><strong>ERROR<\/strong>:<\/span> Unable to start Caster Service, check your settings.<\/h6>\n<p>This event occurred recently to the author when one of our routers went out and, once the network was fixed, the machine found itself on another sub-net with a new IP.<\/p>\n<p>The solution is to simply pick from one of the machine&#8217;s existing IP values.\u00a0 How do you find those?\u00a0 Simple &#8212; just set the <strong>log threshold level<\/strong> menu to be &#8220;minor&#8221;\u00a0 (so more detailed log entries are then visible) and <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span>s log console will tell you what local IP addresses have been found (as well as what was used the prior time), as shown below:<\/p>\n<h6 style=\"padding-left: 30px;\">Listing all the local address(es) for this machine (connect the caster to one of these)<br \/>\nFound: \u00a0\u00a0\u00a0169.254.10.14<br \/>\nFound: \u00a0\u00a0\u00a0192.168.2.147<br \/>\nFound: \u00a0\u00a0\u00a0192.168.2.105<br \/>\nOpening socket using: <strong>192.168.1.24<\/strong><br \/>\n<span style=\"color: #ff0000;\"><strong>ERROR: Server not started! &#8211; Attempt was on IP:192.168.1.24 Port:2101<\/strong><\/span>\u00a0 at Sat May 07 2016, 09:03:16AM (local machine time)<br \/>\n<span style=\"color: #ff0000;\"><strong>ERROR:<\/strong><\/span> Opening server socket failed.<br \/>\n<span style=\"color: #ff0000;\"><strong>ERROR<\/strong>:<\/span> Unable to start Caster Service, check your settings.<\/h6>\n<p>Pick from one of these, entering the new IP in the<a href=\"\/kb\/knowledge-base\/the-caster-and-clients-tab\/\" target=\"_blank\" rel=\"noopener\"><strong> Caster and Clients<\/strong><\/a> tab, and then press <strong>Connect<\/strong>.\u00a0\u00a0 <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> will begin servicing clients on that IP:Port combination, and will remember your selection thereafter. The next time <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> is restarted the connection will occur automatically (presuming you have selected the <em>Auto Start<\/em> checkbox) and will produce a console entry similar to the example below.\u00a0 When done, be sure to set the log threshold level back to your preferred level to avoid unwanted clutter.<\/p>\n<h6 style=\"padding-left: 30px;\"><span style=\"color: #0000ff;\"><strong>Caster: Was Started, &#8211; Now Listening on IP:192.168.2.105 \u00a0\u00a0 Port:2101<\/strong><\/span>\u00a0 at Sat May 07 2016, 09:10:44AM (local machine time)<\/h6>\n<hr \/>\n<p style=\"padding-left: 30px;\"><span style=\"color: #008000;\"><strong>Hint:<\/strong><\/span>\u00a0 If you are not using <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> in a static IP environment, then it is a best practice to establish a &#8220;reserved&#8221; IP for the machine running <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> within the dynamic IP range to avoid this issue.\u00a0 Most devices offering DHCP services (your modem, router, firewall, etc.) provide a means to do this.<\/p>\n<p>&nbsp;<\/p>\n<h3>Raw TCP\/IP IP Details<\/h3>\n<p>When using the Raw TCP\/IP stream method to allow an older (pre-NTRIP) GNSS Base Station to send data to <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span>, the &#8220;incoming&#8221; IP is the <span style=\"text-decoration: underline;\">same<\/span> IP at which you are operating <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span>, while the port used for the incoming connection is whatever value you select during the setup.\u00a0 A remote data sender (pre-NTRIP Base Station) can send to this port from any IP address anywhere on the Internet, unless you provide the specific remote IP you wish to allow to connect, see the Raw TCP\/IP tab setting for details.\u00a0 And for obvious security reasons you should always provide the remote IP value when you are able to to limit abuse. \u00a0 If you are using various firewalls, NAT, DDNS, or VPM methods in you setup, then the remote IP value would reflect the final IP address that <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> will see.<\/p>\n<h2><span style=\"color: #008000;\">Do not have a static IP address?<\/span><\/h2>\n<p>No problem.\u00a0 SCSC has created a public caster for use by our <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> customers who do not have a static IP of their\u00a0 own.\u00a0 This allows sharing your local base station data with others, even if your only internet connection is from a local DSL connection.<\/p>\n<p>The service is called <strong>RTK2go<\/strong>&#x2122; and is described further <a href=\"http:\/\/rtk2go.com\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p><a href=\"http:\/\/rtk2go.com\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2249 size-full\" src=\"\/kb\/wp-content\/uploads\/2016\/09\/RTK2go100x168.png\" alt=\"rtk2go100x168\" width=\"168\" height=\"83\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/09\/RTK2go100x168.png 168w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/09\/RTK2go100x168-50x25.png 50w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The normal mode for the SNIP Caster is to reuse the last IP address and port number which you selected every time it runs.\u00a0 This address is then known by your NTRIP Clients, because you used a static IP or because you used a dynamic DNS with port forwarding. [During [&hellip;]<\/p>\n","protected":false},"author":13,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"ht-kb-category":[115,112],"ht-kb-tag":[207,183,206],"class_list":["post-1353","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-getting-started","ht_kb_category-general","ht_kb_tag-dhcp","ht_kb_tag-ip","ht_kb_tag-settings"],"_links":{"self":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/comments?post=1353"}],"version-history":[{"count":18,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1353\/revisions"}],"predecessor-version":[{"id":5128,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1353\/revisions\/5128"}],"wp:attachment":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/media?parent=1353"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=1353"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=1353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}