{"id":200,"date":"2023-12-06T12:47:32","date_gmt":"2023-12-06T12:47:32","guid":{"rendered":"https:\/\/howtogeek.blog\/es\/?p=200"},"modified":"2023-12-06T12:47:32","modified_gmt":"2023-12-06T12:47:32","slug":"how-to-change-rdp-port-in-windows-server-es","status":"publish","type":"post","link":"https:\/\/howtogeek.blog\/es\/how-to-change-rdp-port-in-windows-server-es\/","title":{"rendered":"\u00bfC\u00f3mo cambiar el puerto RDP en Windows Server?"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Dado que cada vez m\u00e1s personas utilizan servidores remotos, ahora es m\u00e1s f\u00e1cil para los piratas inform\u00e1ticos acceder al sistema a trav\u00e9s del puerto RDP. El n\u00famero de puerto predeterminado es 3389 y la mayor\u00eda de las personas lo mantienen igual sin necesidad de cambiarlo. Ahora, este puerto RDP predeterminado ya est\u00e1 en el radar de los piratas inform\u00e1ticos y siempre intentan acceder a las computadoras remotas a trav\u00e9s de \u00e9l.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Una vez que los piratas inform\u00e1ticos entren, su computadora ser\u00e1 vulnerable a sus ataques y pueden robar sus datos, rastrear su actividad en l\u00ednea y hacer cosas que uno ni siquiera podr\u00eda imaginar. Puede cambiar su n\u00famero de puerto RDP predeterminado para <u data-wpel-link=\"internal\">Windows Server<\/u> a otro para evitarlo. <\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Pero, \u00bfqu\u00e9 efecto tendr\u00e1 cambiar el puerto RDP? El hacker siempre considera el puerto RDP 3389 porque es el predeterminado. Pero si su puerto RDP se cambia y se configura en alg\u00fan otro puerto libre, entonces les resultar\u00e1 dif\u00edcil saber cu\u00e1l es su puerto RDP y obtener acceso a la PC. Este art\u00edculo le guiar\u00e1 sobre c\u00f3mo cambiar el puerto RDP de un servidor Windows.<\/span><\/p>\n<h2><span id=\"Ways_to_Change_RDP_Port_for_a_Windows_Server\"><strong><span data-preserver-spaces=\"true\">Formas de cambiar el puerto RDP para un servidor Windows<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Hay varias formas de cambiar el puerto RDP de un servidor Windows. Aunque el proceso es bastante sencillo, deber\u00e1s tener cuidado al hacerlo. Siga los pasos que se indican a continuaci\u00f3n para cambiar el puerto RDP.<\/span><\/p>\n<h3><span id=\"1_Through_Registry_Editor\"><strong><span data-preserver-spaces=\"true\">1. A trav\u00e9s del Editor del Registro<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">La primera forma de cambiar el puerto RDP es a trav\u00e9s del Editor del Registro. Puede hacerlo siguiendo los pasos que se indican a continuaci\u00f3n:<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Abra el <\/span><strong><span data-preserver-spaces=\"true\">men\u00fa Inicio<\/span><\/strong><span data-preserver-spaces=\"true\">, busque <\/span><strong><span data-preserver-spaces=\"true\">Editor del Registro<\/span><\/strong><span data-preserver-spaces=\"true\"> y \u00e1brelo. <\/span><img alt=\"Editor de registro desde la barra de b\u00fasqueda\" class=\"wp-image\" decoding=\"async\" height=\"286\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Registry-Editor-from-search-bar.webp\" title=\"Editor de registro desde la barra de b\u00fasqueda\" width=\"600\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Ahora, navegue hasta la siguiente direcci\u00f3n:<\/span>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<li><span data-preserver-spaces=\"true\">En el lado derecho, haga doble clic en <\/span><strong><span data-preserver-spaces=\"true\">N\u00famero de puerto<\/span><\/strong><span data-preserver-spaces=\"true\"> para editarlo. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Aqu\u00ed, seleccione <\/span><strong><span data-preserver-spaces=\"true\">Decimal<\/span><\/strong><span data-preserver-spaces=\"true\"> en <\/span><strong><span data-preserver-spaces=\"true\">Base<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Ahora tendr\u00e1s que editar los <\/span><strong><span data-preserver-spaces=\"true\">Datos del valor<\/span><\/strong><span data-preserver-spaces=\"true\">. Establezca los <\/span><strong><span data-preserver-spaces=\"true\">Datos del valor<\/span><\/strong><span data-preserver-spaces=\"true\"> en el puerto RDP al que desea cambiar. <\/span><img alt=\"A trav\u00e9s del Editor del Registro\" class=\"wp-image\" decoding=\"async\" height=\"405\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Through-Registry-Editor.webp\" title=\"A trav\u00e9s del Editor del Registro\" width=\"623\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Una vez hecho esto, haga clic en <\/span><strong><span data-preserver-spaces=\"true\">Aceptar<\/span><\/strong><span data-preserver-spaces=\"true\"> para guardar los cambios. <\/span><\/li>\n<\/ol>\n<h3><span id=\"2_Through_PowerShell\"><strong><span data-preserver-spaces=\"true\">2. A trav\u00e9s de PowerShell<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">Tambi\u00e9n puede ejecutar el comando PowerShell para cambiar el puerto RDP del servidor Windows. Para hacerlo, siga los pasos que se indican a continuaci\u00f3n:<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Presione la tecla <\/span><strong><span data-preserver-spaces=\"true\">Windows <\/span><\/strong><span data-preserver-spaces=\"true\">y escriba <\/span><strong><span data-preserver-spaces=\"true\">Windows PowerShell<\/span><\/strong><span data-preserver-spaces=\"true\">. Haga clic derecho en <\/span><strong><span data-preserver-spaces=\"true\">Windows PowerShell<\/span><\/strong><span data-preserver-spaces=\"true\"> y luego haga clic en <\/span><strong><span data-preserver-spaces=\"true\">Ejecutar como administrador<\/span><\/strong><span data-preserver-spaces=\"true\"> . <\/span><img alt=\"escriba Windows PowerShell\" class=\"wp-image\" decoding=\"async\" height=\"410\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/type-Windows-PowerShell.webp\" title=\"escriba Windows PowerShell\" width=\"640\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Cuando aparezca el mensaje UAC, haga clic en el bot\u00f3n <\/span><strong><span data-preserver-spaces=\"true\">S\u00ed <\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">En Windows PowerShell, ejecute el siguiente comando:<\/span>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">Set-ItemProperty -Path \u2018HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp' -Name \u2018portnumber' -Value [Port Number]<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h2><span id=\"Implement_the_Changes_in_the_RDP_Port\"><strong><span data-preserver-spaces=\"true\">Implementar los cambios en el puerto RDP<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Debe implementar los cambios una vez que haya cambiado el puerto RDP mediante los pasos anteriores. Configure el firewall de Windows para el puerto m\u00e1s reciente y reinicie los servicios de escritorio remoto. As\u00ed es c\u00f3mo-<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Presione la tecla<\/span><strong><span data-preserver-spaces=\"true\"> Windows<\/span><\/strong><span data-preserver-spaces=\"true\">, escriba <strong>Firewall de Windows Defender con seguridad avanzada<\/strong><\/span><span data-preserver-spaces=\"true\"> y presione <\/span><strong><span data-preserver-spaces=\"true\">Entrar<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><img alt=\"Firewall de Windows Defender con seguridad avanzada\" class=\"wp-image\" decoding=\"async\" height=\"535\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Windows-Defender-Firewall-with-Advanced-Security.webp\" title=\"Firewall de Windows Defender con seguridad avanzada\" width=\"758\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Haga clic en <\/span><strong><span data-preserver-spaces=\"true\">Reglas de entrada<\/span><\/strong><span data-preserver-spaces=\"true\"> y luego haga clic en <\/span><strong><span data-preserver-spaces=\"true\">Nueva<\/span><\/strong><strong><span data-preserver-spaces=\"true\">Regla<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><img alt=\"Reglas de entrada y luego haga clic en Nueva regla\" class=\"wp-image\" decoding=\"async\" height=\"415\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Inbound-Rules-and-then-click-on-New-Rule.webp\" title=\"Reglas de entrada y luego haga clic en Nueva regla\" width=\"830\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Para el <\/span><strong><span data-preserver-spaces=\"true\">Tipo de regla<\/span><\/strong><span data-preserver-spaces=\"true\">, seleccione <\/span><strong><span data-preserver-spaces=\"true\">Puerto<\/span><\/strong><span data-preserver-spaces=\"true\"> y luego haga clic en <\/span><strong><span data-preserver-spaces=\"true\">Siguiente<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><img alt=\"Tipo de regla, seleccione Puerto y luego haga clic en Siguiente\" class=\"wp-image\" decoding=\"async\" height=\"567\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Rule-Type-select-Port-and-then-click-on-Next.webp\" title=\"Tipo de regla, seleccione Puerto y luego haga clic en Siguiente\" width=\"702\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Cuando se le pregunte: &#8220;\u00bfEsta regla se aplica a TCP o UDP?&#8221;, seleccione <\/span><strong><span data-preserver-spaces=\"true\">TCP<\/span><\/strong><span data-preserver-spaces=\"true\">.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Seleccione <\/span><strong><span data-preserver-spaces=\"true\">Puertos locales espec\u00edficos<\/span><\/strong><span data-preserver-spaces=\"true\">, escriba el nuevo puerto RDP que ha configurado y luego haga clic en <\/span><strong><span data-preserver-spaces=\"true\">. Siguiente<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><img alt=\"Puertos locales espec\u00edficos\" class=\"wp-image\" decoding=\"async\" height=\"565\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Specific-local-ports.webp\" title=\"Puertos locales espec\u00edficos\" width=\"701\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">En la siguiente pantalla, seleccione <\/span><strong><span data-preserver-spaces=\"true\">Permitir la conexi\u00f3n<\/span><\/strong><span data-preserver-spaces=\"true\"> y luego contin\u00fae haciendo clic en <\/span><strong><span data-preserver-spaces=\"true\">Siguiente<\/span><\/strong><span data-preserver-spaces=\"true\"><\/span><img alt=\"Permitir la conexi\u00f3n\" class=\"wp-image\" decoding=\"async\" height=\"566\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Allow-the-connection.webp\" title=\"Permitir la conexi\u00f3n\" width=\"700\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Seleccione si la regla se aplica a <\/span><strong><span data-preserver-spaces=\"true\">Dominio<\/span><\/strong><span data-preserver-spaces=\"true\">, <\/span><strong><span data-preserver-spaces=\"true\">Privado<\/span><\/strong><span data-preserver-spaces=\"true\">, <\/span><strong><span data-preserver-spaces=\"true\">P\u00fablico<\/span><\/strong><span data-preserver-spaces=\"true\">, o todos ellos. <\/span><img alt=\"Dominio,\u00a0Privado,\u00a0P\u00fablico\" class=\"wp-image\" decoding=\"async\" height=\"568\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Domain-Private-Public.webp\" title=\"Dominio,\u00a0Privado,\u00a0P\u00fablico\" width=\"705\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Ahora debe ingresar el <\/span><strong><span data-preserver-spaces=\"true\">Nombre<\/span><\/strong><span data-preserver-spaces=\"true\"> para el puerto RDP y la descripci\u00f3n (opcional). Haga clic en <\/span><strong><span data-preserver-spaces=\"true\">Finalizar<\/span><\/strong><span data-preserver-spaces=\"true\"> una vez hecho. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Seleccionamos <\/span><strong><span data-preserver-spaces=\"true\">TCP<\/span><\/strong><span data-preserver-spaces=\"true\"> en el cuarto paso anterior; Una vez que haya configurado la regla para TCP, siga los pasos anteriores nuevamente, pero elija <\/span><strong><span data-preserver-spaces=\"true\">UDP<\/span><\/strong><span data-preserver-spaces=\"true\"> en lugar de TCP.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Presione la combinaci\u00f3n de teclas <\/span><strong><span data-preserver-spaces=\"true\">Windows + R <\/span><\/strong><span data-preserver-spaces=\"true\">, escriba <\/span><strong><span data-preserver-spaces=\"true\">services.msc<\/span><\/strong><span data-preserver-spaces=\"true\"> y haga clic en <\/span><strong><span data-preserver-spaces=\"true\">Aceptar<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><img alt=\"buscar servicios\" class=\"wp-image\" decoding=\"async\" height=\"474\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/search-for-services.webp\" title=\"buscar servicios\" width=\"640\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Busque <\/span><strong><span data-preserver-spaces=\"true\">Servicios de Escritorio remoto<\/span><\/strong><span data-preserver-spaces=\"true\"> aqu\u00ed. Haga clic derecho en este servicio y luego haga clic en <\/span><strong><span data-preserver-spaces=\"true\">Reiniciar<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><\/li>\n<\/ol>\n<h2><span id=\"How_to_Check_the_RDP_Port_on_Windows_Server\"><strong><span data-preserver-spaces=\"true\">\u00bfC\u00f3mo comprobar el puerto RDP en Windows Server?<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Una vez que haya cambiado el puerto RDP, es importante verificar si se han realizado los cambios. Puede hacer esto siguiendo los pasos que se detallan a continuaci\u00f3n:<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Inicie <\/span><strong><span data-preserver-spaces=\"true\">Windows PowerShell<\/span><\/strong><span data-preserver-spaces=\"true\"> como administrador en su PC. <\/span><img alt=\"escriba Windows PowerShell\" class=\"wp-image\" decoding=\"async\" height=\"410\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/type-Windows-PowerShell-1.webp\" title=\"escriba Windows PowerShell\" width=\"640\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">En PowerShell, debe ejecutar el comando que se proporciona a continuaci\u00f3n:<\/span><\/li>\n<\/ol>\n<ul>\n<li>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">Get-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp' -name \"PortNumber\"<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4><span id=\"Final_Words\"><strong><span data-preserver-spaces=\"true\">Ultimas palabras<\/span><\/strong><\/span><\/h4>\n<p><span data-preserver-spaces=\"true\">Una vez que haya seguido los pasos anteriores, el puerto RDP en el servidor de Windows se cambiar\u00e1 al puerto personalizado en lugar del predeterminado. Aseg\u00farese de haber seguido todos los pasos cuidadosamente y no omitirlos. Ahora puede utilizar el nuevo puerto para utilizar la Conexi\u00f3n a Escritorio remoto.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dado que cada vez m\u00e1s personas utilizan servidores remotos, ahora es m\u00e1s f\u00e1cil para los piratas inform\u00e1ticos acceder al sistema a trav\u00e9s del puerto RDP. El n\u00famero de puerto predeterminado es 3389 y la mayor\u00eda de las personas lo mantienen igual sin necesidad de cambiarlo. Ahora, este puerto RDP predeterminado ya est\u00e1 en el radar [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-how-to","tag-windows"],"acf":[],"_links":{"self":[{"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":1,"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":201,"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/posts\/200\/revisions\/201"}],"wp:attachment":[{"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howtogeek.blog\/es\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}