HerikLyma / CPPWebFramework

​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
MIT License
445 stars 119 forks source link

Network through software problems #11

Closed angeluslove closed 5 years ago

angeluslove commented 5 years ago

When I use a network through the test connection is reset

Port 80 to the 8000 port mapping network. localhost:8000 Access no problem! www.xxxx.com Access connection is reset!

treefrog test is ok! cppwebframework is failure!

Please check the program

HerikLyma commented 5 years ago

Hello.

The CWF has a file CPPWeb.ini which is inside the server folder. Every application using CWF must contain the server folder, inside it there will be the config folder and inside the config folder the CPPWeb.ini configuration file and it is in that file that you change the host and the port.

Note: When building an application in CWF, you must enter Full Path into the server folder and if CppWebApplication does not find it, it will attempt to fetch the folder at the same level as the application. By default the CWF uses port 8080.

angeluslove commented 5 years ago

I have modified the port of ini file to 8000, and the page can be accessed for local use.

Web pages cannot be accessed only when the Intranet USES Intranet penetration software for port mapping.