Home >Backend Development >PHP Tutorial >How do I connect to my own wamp server?

How do I connect to my own wamp server?

WBOY
WBOYOriginal
2016-08-04 09:21:301094browse

When I was celebrating the Chinese New Year, I wanted to develop a WeChat public account, so I asked my classmates majoring in programming who were back home for the Chinese New Year.
He told me to use php, so I learned php and then followed the lead and learned thinkphp, JavaScript, html, css, mysqli, etc.
I made a Windows virtual machine and did experiments on it every day. If I didn’t know how to do it, I came here to ask. Finally, I felt that I had learned a lot, so I wanted to try developing it.

The computer I am using is connected to my home router via wifi. There is a windows virtual machine in my computer with wamp configured in it.
When doing experiments, if I want to access it myself, I just visit http://localhost/ *.php will do.

How do I enter wamp to access my virtual machine from other places?

I know that when cmd.exe enters ipconfig, a lot of information will appear,
but I don’t know which one is useful.
Can someone please teach me step by step...

Thank you!!

Reply content:

When I was celebrating the Chinese New Year, I wanted to develop a WeChat public account, so I asked my classmates majoring in programming who were back home for the Chinese New Year.
He told me to use php, so I learned php and then followed the lead and learned thinkphp, JavaScript, html, css, mysqli, etc.
I made a Windows virtual machine and did experiments on it every day. If I didn’t know how to do it, I came here to ask. Finally, I felt that I had learned a lot, so I wanted to try developing it.

The computer I am using is connected to my home router via wifi. There is a windows virtual machine in my computer with wamp configured in it.
When doing experiments, if I want to access it myself, I just visit http://localhost/ *.php will do.

How do I enter wamp to access my virtual machine from other places?

I know that when cmd.exe enters ipconfig, a lot of information will appear,
but I don’t know which one is useful.
Can someone please teach me step by step...

Thank you!!

There is a number starting with 192 in ipconfig, which is the intranet address. Just make sure you use this access within the same LAN.
Then a 403 may appear, just configure it. I think if you have just learned to play these things, the configuration should not be a problem.

Holy shit, when I saw the news upstairs that Peanut Shell actually deducted points, I was so scared that I dropped the melon seeds.
If you want to access on the Internet.
1. Purchase a server
2. Use tools such as Peanut Shell for internal and external network mapping

Peanut shell nat123

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Extraction of stringsNext article:Extraction of strings