Assume that I need to set up a virtual host with the server name text.dev, there is no such way So that I can enter Test.dev in my browser without a port number? My xampp port is running at 8080. I have to walk on this harbor.
Currently, I can take the exam. DEV: 8080 go to the correct directory, but in a way I can set test.dev to go port 8080. Any help would be appreciated, thanks.
It is not directly possible that they will sketch the way you sketch it with some of its virtual host configurations Not even with the browser's behavior. If you do not specify a port, the browser will always connect to port 80. You can not do anything against it
So your only condition is to listen to the 80 port. If you do not want to do this or not with your HTTP server, then you have to forward those requests from that port which listens to your virtual host. There are several options for such port forwarding: The firewall works by using a simple socket listener, which works like a proxy or through a tunnel, for example using SSI tools.
No comments:
Post a Comment