{"id":74,"date":"2009-08-10T10:00:45","date_gmt":"2009-08-10T09:00:45","guid":{"rendered":"http:\/\/fapg.nsk.pt\/?p=74"},"modified":"2009-08-06T19:48:46","modified_gmt":"2009-08-06T18:48:46","slug":"changing-a-service-port-number-on-a-windows-system","status":"publish","type":"post","link":"https:\/\/fapg.nsk.pt\/en\/2009\/08\/changing-a-service-port-number-on-a-windows-system\/","title":{"rendered":"Changing a service port number on a Windows System"},"content":{"rendered":"<p>In order to change one service port number in Windows systems, you need to change the <strong>services<\/strong> file in the %SYSTEMROOT%\\SYSTEM32\\DRIVERS\\ETC folder (usually c:\\windows\\system32\\drivers\\etc).<\/p>\n<p><!--more-->For example, I need to change the udp port number for the SNMP service. To do this edit the file c:\\windows\\system32\\drivers\\etc\\services with notepad, or any other text editor, and in the line:<\/p>\n<p><em>snmp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 161\/udp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #SNMP<\/em><\/p>\n<p>change to:<\/p>\n<p><em>snmp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>port_number_you_want<\/strong>\/udp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #SNMP<\/em><\/p>\n<p>Save the file and restart the SNMP service in the services.msc.<\/p>","protected":false},"excerpt":{"rendered":"<p>In order to change one service port number in Windows systems, you need to change the services file in the %SYSTEMROOT%\\SYSTEM32\\DRIVERS\\ETC folder (usually c:\\windows\\system32\\drivers\\etc).<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[27,26],"tags":[33,32],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-services","category-windows","tag-services","tag-windows"],"_links":{"self":[{"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":2,"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":78,"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/posts\/74\/revisions\/78"}],"wp:attachment":[{"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fapg.nsk.pt\/en\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}