Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to Antares Web from remote location #2171

Open
1 of 2 tasks
tuxiano opened this issue Oct 7, 2024 · 2 comments
Open
1 of 2 tasks

Unable to connect to Antares Web from remote location #2171

tuxiano opened this issue Oct 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@tuxiano
Copy link

tuxiano commented Oct 7, 2024

Description

I'am unable to connect to AntaresWeb from a remote location.

Provide a clear and concise description of the issue.
The antares web server is only accessible from the local machine, but not from a remote machine.

Steps to reproduce the behavior:

  1. Add a Inbound Rule for TCP port 8080 from any remote IP in the Windows Defender Firewall
  2. Download and extract Antares 2.17.6
  3. Change in nginx.conf the second line to: listen 0.0.0.0:8080;
  4. Start Server with AntaresWebServerShortcut.lnk
  5. On server machine navigate to localhost:8080 -> see Antares Web Studies page
  6. On remote machine Navigate to IP-of-server:8080 -> Get an error message, that the server is not reachable

Actual Behavior

Server is note accessible from a remote location

Expected Behavior

Server is accessible from a remote location

Describe what you expected to happen.

If applicable, add screenshots to help explain your problem.
I assume, that there is a config file, which requires additional changes, but I don't which one.

If you have a solution in mind, describe it here.

  • Production
  • Staging

Additional Information

Add any other context about the problem here.

  • Windows Server 2019
  • Antares Web 2.17.6
  • Browsers Edge and Chrome
  • Log file shows no related entries
@tuxiano tuxiano added the bug Something isn't working label Oct 7, 2024
@sylvlecl
Copy link
Member

sylvlecl commented Oct 8, 2024

Indeed the executable we provide is really meant to be used as a local, "standalone", application,
thus it only listens on the "loopback" interface (127.0.0.1).

For a remote use, I would strongly advise to use a "real" deployment that would scale better and be more secure, for example on a linux server:
in particular, the .exe version does not allow concurrent access to the underlying database, does not have multiple workers to handle concurrent requests, does not have any security related mechanism (user authentication etc)...

However, an "opt-in" configuration option could be added to enable remote access, if really needed.

@tuxiano
Copy link
Author

tuxiano commented Oct 8, 2024

Thank you for your feedback. What would be the right way to deploy Antares on a windows 2019 server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants