By Ellie / Last Updated November 22, 2022

Use IP address to control another PC



I know the IP address of a computer. But I have no idea how can I access that PC by using IP address when the computer is connected to the internet?

- Question from Tom’sHardware

The Remote Desktop is a great invention in the world that allows us to remotely access or control a PC from another PC over the Internet. And the prerequisite to achieving the connection is to know the IP address and the password of the host PC.

How can I remotely access another computer using IP address?

Here in this part, we’ll talk about how to access a computer with IP address in light of whether 2 devices are on the same network. But before the operation, setting up Remote Desktop on the host computer is necessary.

Step 1. On the host PC, click the “Start” button and go to “Settings” > “System” > “Remote Desktop”. Here you can see the PC name of this computer. Keep it in mind, as you need to use it for accessing this computer


Step 2. Drag the slider to enable Remote Desktop. Then, click “Confirm”.


Remotely access a PC using IP address on the same network

Now, we tend to list the ways how to access another computer on the same network using IP address. Follow me and take them into practice.

Step 1. On the client's PC, input “remote desktop connection”, and double click "Remote Desktop Connection" to open it.


Step 2. Now, you’ll be in Remote Desktop Connection. Type in the PC name or the IP address of the remote PC and click "Connect".


Step 3. Then, you’ll be asked to input the password and user name. Enter the credentials in the box.

RDP Credential

Step 4. Then there will be a warning window pop up. Click on “Yes”. (If you don’t want to meet with the warning again, tick “Don’t ask me again for connections to this computer”.)

Click on Authentication

Step 5. Then the remote connection is successfully established. And you can control the remote PC as if you were sitting in front of it.

the Desktop of Remote PC

Remotely access another computer using IP address without the same LAN

If 2 PCs are not on the same LAN, then using IP address to remotely access a PC needs to perform port forwarding. But it’s a little bit difficult. Follow me to operate the ways to access another computer on a different network using IP address. 

◘1. Find the routers IP address (Default Gateway)

Step 1. Search "cmd" in the search box and then right-click and choose "Run as administrator".

Run as Administrator

Step 2. Type "ipconfig" and then locate the Default Gateway line in the following picture and enter it into the browser.  

Default Gateway

◘ 2. Find the username and password

Method 1. Find the username and password behind the router.

Router Login

Method 2. Find the username and the password according to the following information.

Username and Password

Concrete steps for performing port forwarding

Step 1. Open a web browser. Then type in your router’s IP address into the address bar. 

Step 2. A privacy warning will appear. Just click Advanced > Proceed to continue.

Proceed to Connect

Step 3. Next, enter your router’s username and password in the box. Click on "Log in".

H3C Router Login

Step 4. Click on "Port Forwarding/Port Triggering" on the left pane.  Create a new port forwarding rule and click "Add", and choose "Add Custom Service".

Add Custom Service

Step 5. In the Port Forwarding interface, give your device a name and enter the port number you wish to forward in the port field (if you're not sure which protocol to use, choose "TCP/UDP" or "Both" under Service Type).

Step 6. Then enter the internet IP address of the device you want to port forward, and then click "Apply" to save the changes.

Set Up Port Mapping

Step 7. Finally, save your settings.

Apply Port Forwarding

Step 8. After that, search Remote Desktop in the search bar and then open it. Type in the IP address of the remote PC and then click on Connect. Enter the username and the password of the host PC. And then the remote connection can be established successfully.

AnyViewer: Get remote access anywhere and anytime

By following the ways above, you must know how to access another computer through IP address. The operations seem not too complicated if 2 PCs are on the same network. But if you encounter issues like “RDP stuck on Please Wait” or the port forwarding is too difficult for you, why not choose a free & professional remote access software-- AnyViewer, with which you won’t be limited by the same or different network.

With AnyViewer, you can enjoy the following advantages:

 Fast connection speed and easy operations. Once you log into the same AnyViewer account on 2 devices, you could get a 1-click remote control with AnyViewer, and the whole connection speed is fast.
 Multiple compatibilities. AnyViewer supports Windows 11, 10, 8, 7 and Windows Server, including Windows 10 Home edition. Not being restricted from a PC, AnyViewer also allows you to remotely access a PC from iPhone or iPad.
High-security. For remote connection activity, security can be the first thing that users are concerned about. AnyViewer is secured by Elliptic Curve Cryptography (ECC) encryption, protecting your data from leakage.

What are you waiting for? Get one and take it into practice.

Download Freeware Win 11/10/8.1/8/7
Secure Download

Step 1. Install and launch AnyViewer on both computers. Go to Log in, and then click Sign up.

Log in AnyViewer

Step 2. Fill in the signup information.

Sign Up for AnyViewer

Step 3. Then you can see you successfully logged in to AnyViewer. Your device will automatically be assigned to the account you've logged in to.

Free Editions

Step 4. Log in to the same AnyViewer account on the two devices, then you can achieve a direct connection by clicking One-click control.

Connect to My Devices

Note: You can also upgrade your account to a Professional or Enterprise edition to assign more devices and to connect to another computer in privacy mode.

Isn’t it convenient and effective? Get one and have a try.


Here in this post, we illustrate the ways to access another computer through IP address in aspects of whether 2 devices are on the same network. However, if you encounter the issue when RDP to a server or port forwarding is too complicated for you, why not choose a remote access software-- AnyViewer, which can give you a huge comfort.