How to configure a local server?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to configure a local server?

Postby c7aesa7r » 02. May 2023 14:19

I'm a beginner in networking, sockets, etc, its my first time using apache/xampp
I'm trying to host a local server to use with a qt c++ project that uses TCP Sockets

Code: Select all
    const QUrl registryUrl = QUrl(QStringLiteral("tcp://...:65212"));
    const QUrl extUrl = QUrl(QStringLiteral("exttcp://...:65213"));

    QTcpServer tcpServer;
    tcpServer.listen(QHostAddress(extUrl.host()), extUrl.port());
    QRemoteObjectRegistryHost registry(registryUrl);


I have downloaded and installed XAMPP 3.3.0 and opened the router ports 80 and 443 https://i.imgur.com/OYVthdK.png
What else do I need to configure to be able to access my network from another network?
When I type my IP in another network browser i get this error:

This site can’t be reached ...240.213.229 took too long to respond.
c7aesa7r
 
Posts: 1
Joined: 02. May 2023 14:10
XAMPP version: 3.3.0
Operating System: Windows 10

Re: How to configure a local server?

Postby Nobbie » 02. May 2023 19:30

From Xampp readme:

A matter of security (A MUST READ!)

As mentioned before, XAMPP is not meant for production use but only for developers in a development environment.


Xampp is NOT meant for external (online) access. Especially NOT for total beginners. Anyway, you probably have a firewall problem.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 204 guests