Losing external connection after some minutes
Posted by: eldervs (---.virtua.com.br)
Date: November 24, 2019 11:42AM

Please help me. I installed wampserver and developed a program in PHP. Using localhost, the program Works perfectly. Then, I registerd em NoIp, installed DUC, opened port 4000 (in and out) in fireall and in the modem configuration.

I made the necessary changes in file BIN/APACHE/APACHEXXX/CONF/httpd.conf.

But sometimes when I try to acesse externally, nothing Works. And sometimes it does word, but a few minutes later it stops working (localhost Works normally).

Anybody can help me what could be wrong?

Options: ReplyQuote
Re: Losing external connection after some minutes
Posted by: RiggsFolly (Moderator)
Date: November 24, 2019 12:31PM

Well we could make some guesses, but without seeing some real config all you will get is guesses.

Big Note:
You should really have a VirtualHost defined for this project and NOT be making changes to `httpd.conf` but instead making changes to `httpd-vhosts.conf`

See the Need for VirtualHosts

Can I ask WHY youare using port 4000 and not the standard port 80?


Also before you ask a question it is really useful for us to know what version fo everything you are using, so please complete all 13 answer to These questions, to help us to help you

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.