当前位置:网站首页>Connect the local browser to the laboratory server through mobaxterm
Connect the local browser to the laboratory server through mobaxterm
2022-06-25 20:02:00 【The ninth tree】
Doing it oatpp When the project is , In the lab. Linux Under the server ,git Code for , Just run the code .oatpp When setting the port , The settings are 8000. Used on the server
curl http://localhost:8000Commands can produce results{"statusCode":200,"message":"Hello World!"}. However, I take it for granted that on my own computer Google Input directly from the browserlocalhost:8000, This is definitely not the result , Because my computer is not connected to the lab server .
The laboratory server is the terminal equipment used by everyone MobaXterm, Refer to the information on the Internet for operation .
About MobaXterm Go online to download this by yourself .
First of all, you need to know about the lab server ip What is it? , The input terminal ifconfig You can view it ,eno2 Ethernet inet The address is ip Address .
The second step : Click on the toolbar Tools Medium MobaSSHTunnel(port forwarding), This is the following interface :
Click on the bottom left corner New SSH tunnel, It is shown as follows :
After filling in all the Save, The interface appears again :
Set the address to be accessed by your local browser , Set the loopback address here 127.0.0.1 namely localhost.
Click so start Button You can start testing !
Browser input http://localhost:18000 What is displayed is that I pass the command through the laboratory server terminal curl http://localhost:8000 The results are consistent .
Note that one is 8000, One is 18000, Of course, you can set the same port

边栏推荐
- SEO outsourcing reliable company, enterprise SEO outsourcing company which reliable?
- Suddenly found that the screen adjustment button can not be used and the brightness can not be adjusted
- Using flex to implement the Holy Grail layout is as simple as that
- 2020-12-09 laravel . Env file loading mechanism process
- Verification code native JS canvas
- 3、 Hikaricp source code analysis of connection acquisition process III
- 2.16([Usaco2005 Nov]Ant Counting)
- PostgreSQL division considerations
- What should I pay attention to in GoogleSEO content station optimization?
- Redis high availability: do you call this the principle of master-slave architecture data synchronization?
猜你喜欢

New features of redis 6.0: take you 100% to master the multithreading model

Principles of MySQL clustered index and non clustered index

Uni app through uni Navigateto failed to pass parameter (pass object)

Process of vacuum and vacuum full

Mail monitoring cloud script execution progress

Impact of Huawei application transfer and application claim on user identification

rmi-registry-bind-deserialization

Web container basic configuration

H5 application conversion fast application

200 OK (from memory cache) and 200 OK (from disk cache)
随机推荐
Uni app through uni Navigateto failed to pass parameter (pass object)
PHP synchronizes website content to hundreds of websites to improve SEO ranking
Dependency injection in PHP reflection implementation framework
六、HikariConfig的配置解析
PAT B1091
Mqtt+ardunio+esp8266 development (excluding mqtt server deployment)
The native JS mobile phone sends SMS cases. After clicking the button, the mobile phone number verification code is sent. The button needs to be disabled and re enabled after 60 seconds
2.4 finding the sum of the first n terms of the interleaved sequence
From now on, I will blog my code
三、HikariCP获取连接流程源码分析三
PostgreSQL user role permissions
Curtain down and departure
Web components - Basics
Using flex to implement the Holy Grail layout is as simple as that
Some pictures of real machine preview development and debugging are not shown
Teach you how to add custom controls to a map
Browser performance optimization (19)
Randomly generate 100 non repeating numbers between 1 and 150 and put them in the array
Installing or uninstalling VMware could not find the network location
Redis is a loser. If you don't understand the usage specification, you will spoil it