My second terminal can't connect to DBSERVER
Customer issue:
My second terminal can't connect to 'DBSERVER', only with the IP of the main terminal.
Solution:
Ensure the main terminal is called 'DBSERVER'. If not, then you should access Windows and change the terminal name to 'DBSERVER'. Then restart the terminal.
Ensure terminals are able to successfully ping one another.
Note ipaddress of DBSERVER from cmd. (e.g 162.168.1.56)
Add the host IP to the windows - follow instructions for respective OS
Press the Windows key.
Type Notepad in the search field.
In the search results, right-click Notepad and select Run as administrator.
From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts
At the bottom of the document add IpAddress and DBSERVER. (See image below)
Click File > Save to save your changes.
Click Start > All Programs > Accessories.
Right-click Notepad and select Run as administrator.
Click Continue on the Windows needs your permission UAC window.
When Notepad opens, click File > Open.
In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
Click Open.192.
At the bottom of the document add IpAddress and DBSERVER. (See image below)
Click File > Save to save your changes.
Click Start > All Programs > Accessories > Notepad.
Click File > Open.
In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
Click Open.
At the bottom of the document add IpAddress and DBSERVER. (See image below)
Click File > Save to save your changes.
My second terminal can't connect to 'DBSERVER', only with the IP of the main terminal.
Solution:
Ensure the main terminal is called 'DBSERVER'. If not, then you should access Windows and change the terminal name to 'DBSERVER'. Then restart the terminal.
Ensure terminals are able to successfully ping one another.
Note ipaddress of DBSERVER from cmd. (e.g 162.168.1.56)
Add the host IP to the windows - follow instructions for respective OS
FOR WINDOWS 10 AND 8
Press the Windows key.
Type Notepad in the search field.
In the search results, right-click Notepad and select Run as administrator.
From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts
At the bottom of the document add IpAddress and DBSERVER. (See image below)
Click File > Save to save your changes.
FOR WINDOWS 7 AND VISTA
Click Start > All Programs > Accessories.
Right-click Notepad and select Run as administrator.
Click Continue on the Windows needs your permission UAC window.
When Notepad opens, click File > Open.
In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
Click Open.192.
At the bottom of the document add IpAddress and DBSERVER. (See image below)
Click File > Save to save your changes.
FOR WINDOWS NT, WINDOWS 2000, AND WINDOWS XP
Click Start > All Programs > Accessories > Notepad.
Click File > Open.
In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
Click Open.
At the bottom of the document add IpAddress and DBSERVER. (See image below)
Click File > Save to save your changes.
Updated on: 06/08/2024
Thank you!