A detailed explanation of the client-server connection problem in the Linux build test environment

Source: Internet
Author: User
Tags filezilla

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.

    1. VM Virtual Machines
    2. DR3
    3. FileZilla
    4. Jdk
    5. Tomcat
    6. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.