Remote connection to a computer via a local network Wi-Fi By IP address — an indispensable skill for administering devices, transferring files, or providing technical support. Whether you want to access a work PC from a laptop, set up a home server, or simply help a relative with software configuration, knowing the right protocols and tools will save you time and effort.
In this article we will look at All current methods for connecting to a computer via IP in 2026, including standard tools Windows (RDP, Remote assistant), cross-platform solutions like TeamViewer or AnyDesk, as well as advanced methods through SSH And VNCWe'll pay special attention to configuring network settings to avoid common errors like "the remote computer is unavailable" or "the connection is blocked by a firewall."
Important: All instructions apply to home networks with routers. TP-Link, ASUS or Keenetic, as well as for corporate networks with Active DirectoryIf you're using public networks (for example, in a cafe or hotel), some methods may be blocked by the administrator.
1. Preparing the network: checking IP addresses and network settings
Before connecting to the computer via IP address, make sure both devices are on the same local network and communicate correctly with each other. Even if both PCs are connected to the same router Wi-Fi, problems with DHCP or settings IPv4/IPv6 may block the connection.
To check the current IP address computer you want to connect to:
- 🖥️ In Windows: open
Command line(Win + R→ entercmd) and run the command:ipconfigLook for the line
IPv4 addressin the blockWireless network adapter(For Wi-Fi). - 🍎 In macOS: open
Terminaland enter:ifconfig | grep "inet "The active address will start with
192.168.or10.0.. - 🐧 In Linux (Ubuntu/Debian): Use the command:
hostname -Ior
ip afor detailed information.
If IP address starts with 169.254., this means that DHCPThe router's server hasn't assigned the correct address. Restart the router and PC, or assign a static one. IP manually in the network adapter settings.
| Parameter | Windows | macOS/Linux |
|---|---|---|
| Command to check IP | ipconfig |
ifconfig / ip a |
| Ping another PC | ping 192.168.1.100 |
ping 192.168.1.100 |
| Checking ports | Test-NetConnection 192.168.1.100 -Port 3389 |
nc -zv 192.168.1.100 3389 |
After receiving IP addresses check the connection between computers using the command ping:
ping 192.168.1.100
If the packets don't arrive (The specified node is unavailable), the problem may be with your firewall, antivirus, or router settings. Disable your firewall temporarily for testing.
2. Connecting via RDP (Remote Desktop Protocol) in Windows
RDP — built-in protocol Windows for remote control of a computer with full access to the desktop. It runs on the port 3389 and supports the transfer of sound, clipboard and local disks. However, RDP is only available in Pro, Enterprise, and Education editions. - V Windows 10/11 Home he is not there.
To turn on RDP on the target computer:
- Open
Settings → System → Remote Desktop. - Activate the switch
Enable Remote Desktop. - In the section
Additional optionsmake sure it is selectedAllow connections only from computers with Network Level Authentication (recommended). - Remember the username (must have administrator rights) and password.
To connect from another computer:
- Click
Win + R, entermstscand pressEnter. - In the field
Computerenter IP address target PC (for example,192.168.1.100). - Enter the login and password for the account on the remote computer.
Make sure RDP is enabled on the target PC|Port 3389 is open in the firewall|IP address is static or assigned to the MAC in the router|Account has administrator rights-->
⚠️ Attention: If you use Windows 11 24H2 or newer, check your settingsRemote Desktop Policiesthroughgpedit.msc(Available only in Pro versions). In some builds, Microsoft changed the default security settings, blocking connections withoutNetwork Level Authentication (NLA).
If the connection fails, check:
- 🔥 Firewall: Add a port exception
3389(incoming connections). - 📡 Router: some models (ASUS RT-AX88U, TP-Link Archer C5400) are blocking
RDPby default. Go to the router's web interface and check the sectionFirewall → Filter. - 🔄 Antivirus: Kaspersky, ESET NOD32 or Bitdefender may block
RDPas "suspicious activity." Add an exception formstsc.exe.
3. Alternative methods: TeamViewer, AnyDesk, and Chrome Remote Desktop
If RDP unavailable (for example, on Windows Home) or if you need a cross-platform solution, use third-party programs. They don't require port configuration and work even through NAT, but depend on the manufacturer's servers.
Comparison of popular tools:
| Program | Free version | OS support | Peculiarities |
|---|---|---|---|
| TeamViewer | Yes (for personal use) | Windows, macOS, Linux, Android, iOS | File manager, chat, multiple monitor support |
| AnyDesk | Yes (with limitations) | Windows, macOS, Linux, Android, iOS | Low latency, no installation required |
| Chrome Remote Desktop | Yes | Any OS with Chrome browser | Integration with Google Account, easy setup |
Instructions for TeamViewer:
- Download the program from official website on both computers.
- On the target PC, run TeamViewer and write it down
IDAndPassword(they change with each launch). - On the second computer, enter
IDpartner and clickConnect. - Enter your password when prompted.
How to bypass the limitations of the free version of TeamViewer?
Free version TeamViewer This program is intended for personal use only. If commercial activity is detected (for example, frequent connections to different devices), the program may block the session with a message "Suspected of commercial use"To avoid blocking:
- Use the program only to connect to your personal devices.
- Do not connect to the same PC from different accounts.
- For business, obtain a license (from $50/month).
Advantages of third-party programs:
- 🌍 Works via the Internet (does not require a shared local network).
- 🔒 Traffic encryption (in AnyDesk is used
TLS 1.3). - 📱 Mobile device support (you can control your PC from your smartphone).
⚠️ Attention: In 2026 TeamViewer changed its privacy policy to allow the collection of data about connected devices to "improve the service." If this is critical, use AnyDesk or customizeSSH/VNCwithout intermediaries.
4. Connecting via SSH (for Linux/macOS and Windows with OpenSSH)
SSH (Secure Shell) is a protocol for securely managing a computer via the command line. It is ideal for servers or Linux-machines, but since 2018 it has also been supported in Windows 10/11 through OpenSSHUnlike RDP, SSH does not provide a graphical interface, but allows you to execute commands, edit files, and run scripts.
To turn on SSH server:
- 🐧 On Linux (Ubuntu/Debian):
sudo apt update && sudo apt install openssh-serversudo systemctl enable --now ssh - 🍎 On macOS: open
System Preferences → Sharingand turn it onRemote login. - 🖥️ On Windows:
# Install the OpenSSH server (in one command in PowerShell as administrator):Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH.Server*' | Add-WindowsCapability -Online
Start the service:
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
To connect from another computer, use the client SSH:
- IN Windows (through
PowerShellorcmd):ssh username@192.168.1.100Where
username— user name on the target PC. - IN Linux/macOS:
ssh -p 22 username@192.168.1.100Port
22It is not necessary to specify it if it is standard.
If the connection fails:
- 🔌 Make sure the port
22open in firewall:# For Windows:New-NetFirewallRule -DisplayName "Allow SSH" -Direction Inbound -LocalPort 22 -Protocol TCP -Action Allow - 📡 Check that your router is not blocking the port (on some models MikroTik or Zyxel
SSHdisabled by default).
5. Using VNC for Remote Desktop (Cross-Platform)
VNC (Virtual Network Computing) is a protocol for remote control of a graphical interface, similar to RDP, but cross-platform. Popular implementations: TightVNC, RealVNC, UltraVNCUnlike RDP, VNC works at the port 5900 and may be less responsive on weak connections.
Setting up TightVNC on Windows:
- Download and install TightVNC Server With official website.
- Launch
TightVNC Serverand set a password in the settings (Passwords). - In the server settings (
Settings) make sure the mode is selectedAccept connections on port 5900. - Add a port exception
5900in the firewall Windows.
To connect from another computer:
- Install TightVNC Viewer.
- Enter IP address target PC (for example,
192.168.1.100:5900). - Enter your password when prompted.
Peculiarities VNC:
- ⚡ Slower
RDPwhen transmitting video or animation. - 🔒 By default, traffic is not encrypted (use
SSH tunnelfor safety). - 🖥️ Supports multiple connections simultaneously (useful for learning or collaboration).
To encrypt traffic VNC through SSH:
- On the target PC, configure
SSH server(see section 4). - On the client PC, create a tunnel:
ssh -L 5901:localhost:5900 username@192.168.1.100 - Connect via VNC Viewer To
localhost:5901.
6. Troubleshooting: Why IP connection isn't working
If you follow the instructions but still cannot connect, please check the following:
1. Network problems:
- 🌐 Make sure both computers are on the same subnet (e.g.
192.168.1.x). If IP addresses differ in the third octet (for example,192.168.0.xAnd192.168.1.x), they will not see each other. - 🔌 Reboot your router - sometimes
DHCP- the server "forgets" the issued addresses. - 📡 Check if the router is in the "Secure Mode" mode.
AP Isolation(client isolation), which blocks communication between devices on the network.
2. Firewall and antivirus:
- 🔥 Temporarily disable your firewall Windows (
Control Panel → Firewall → Turn on or off). - 🛡️ Add an exception for the program you are connecting through (for example,
mstsc.exeForRDPorvncviewer.exeForVNC). - 🦠 Check your antivirus settings: Kaspersky This
Settings → Advanced → Network.
3. Target computer settings:
- 😴 Make sure your PC is not in sleep or hibernation mode (in Windows check
Settings → System → Power & sleep). - 👤 For
RDPorSSHUse an account with administrator rights. - 🔄 If IP address dynamic, it can change after a reboot. Assign static IP in the router settings (bind by
MAC address).
| Error | Possible cause | Solution |
|---|---|---|
The remote computer requires Network Level Authentication. |
Disabled on the target PC NLA (Network Level Authentication) |
Turn on NLA V System → Remote Desktop → Advanced Options |
Failed to connect to the remote PC |
Port 3389 closed or RDP disabled |
Check your settings RDP and firewall |
Connection refused (with SSH) |
Service SSH not running |
Start the service: sudo systemctl start ssh (Linux) |
7. Security: How to secure your remote connection
Remote connection via IP address — a potential vulnerability if the network is not secured. Follow these recommendations:
1. Use complex passwords:
- 🔑 For
RDP,SSHorVNCSet passwords that are at least 12 characters long and contain letters, numbers, and special characters. - 🔄 Change your passwords regularly (every 3-6 months).
2. Restrict access by IP:
- 📛 In the firewall Windows or
iptables(Linux) Allow connections only from trusted IP addresses. - 🌐 Configure it on your router
Port ForwardingFor local network only (do not open ports to the Internet unless necessary).
3. Additional measures:
- 🔒 For
SSHdisable password login and useauthorization keys:# Generate a key on the client PC:ssh-keygen -t ed25519
Copy it to the server:
ssh-copy-id username@192.168.1.100 - 🛡️ Turn on
two-factor authentication(for example, through Google Authenticator ForSSH). - 📡 Update your router firmware - vulnerabilities in DD-WRT or standard firmware may allow attackers to intercept traffic.
⚠️ Attention: If you open portsRDP(3389) orSSH(22) for access from the Internet, your computer will become a target for botnets like Mirai or TrickBotAccording to data Kaspersky by 2026, 90% of attacks onRDPoccur within the first 24 hours after the port is opened. UseVPNorZero Trust- solutions for secure access.
FAQ: Frequently asked questions about connecting to a computer via IP
Is it possible to connect to a computer via IP over the Internet, and not just on a local network?
Yes, but for this you need:
- Tune
Port Forwardingon the router (forward the external port, for example,3389to the internal IP address target PC). - Use static external IP (or a dynamic DNS service like No-IP).
- Provide protection (for example, change the default port
RDPto a non-standard one, for example,3390).
⚠️ Risk: Opening RDP on the Internet without VPN or 2FA extremely unsafe!
How to connect to a macOS computer via IP from Windows?
For management macOS With Windows:
- Turn on
Remote loginin the settings macOS (System Preferences → Sharing). - Use
SSHfor command line or VNC (included in the same sectionScreen control). - For
VNCon Windows install RealVNC Viewer or TightVNC.
Alternative: TeamViewer or AnyDesk (do not require additional settings).
Why do I get a black screen or the error "The remote computer is disconnected" when connecting via RDP?
Possible reasons:
- 🖥️ The monitor on the target PC is turned off or power saving mode is activated (check the power plan settings).
- 🔌 Video driver does not support
RDP(update driver or usebasic video adapter). - 🛠️ Corrupted system files (run
sfc /scannowin the command line as admin).
Solution: Connect via Safe Mode with Networking (hold while loading F8 or Shift + Restart V Windows 10/11).
How to transfer files between computers over a local network?
File transfer methods:
- 📂 Through
RDP: V Windows when connecting inLocal resourcesselectDisks→ they will be available on the remote PC. - 🌐 By
FTP: install the server (eg. FileZilla Server) and connect viaftp://192.168.1.100. - 🔗 Through
SSH(for Linux/macOS):scp file.txt username@192.168.1.100:/path/on/server - 📎 With the help of TeamViewer or AnyDesk (built-in file manager).
Is it possible to connect to a turned off computer over the network?
No, the computer must be turned on to connect remotely. However, there are workarounds: