Work we use is the company set up a good environment, want to create a server at home to do some technical research, at this time will encounter a variety of problems, the most important thing is to the computer can connect the server, or nothing can be done, now we will solve the client and service-side connectivity issues:
The first step: Get the tools you need.
- VM Virtual Machines
- DR3
- FileZilla
- Jdk
- Tomcat
- JSP Source code
Step Two: Create a new virtual machine
There is no explanation here, the internet has
Step Three: Configure Linux network settings
Location of the system network configuration file
/etc/sysconfig/network-scripts/ifcfg-ens33
Use the VI Editor to make changes (back up before modifying)
Set up and restart the network card later.
Service Network restart
Ping the server IP and the native IP
There are two scenarios:
1. The server cannot ping the client
2. The server can ping the client, the client cannot ping the server
At this point, configure the virtual IP inside the local network
Randomly select a virtual IP
At this point the client and server can ping each other.
FileZilla Connecting the test environment
This is where our servers are built.
A detailed explanation of the client-server connection problem in the Linux build test environment