question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can only access Para on localhost

See original GitHub issue

I’ve been trying to set up Para on a test server and mapping it with Nginx and a reverse proxy, but neither Scoold nor para-cli can acces it on the public ip. Accessing it through localhost works fine however.

Endpoints like /v1/_setup however work with the public ip. I’ve tried both Nginx and running it directly on an open port.

Config I’m using for Nginx:

server {
       listen 32461 http2;
       listen [::]:32461 http2;

       location / {
        proxy_pass       http://localhost:8080;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
       }
}

Logs are not giving me anything informative either, any idea where I can start debugging?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wleevcommented, Sep 18, 2018

This has been fixed, error on my part due to a mix-up of keys and my dev server lacking outbound access.

Thanks for the support, it helped me narrow down the cause.

0reactions
albogdanocommented, Sep 16, 2018

Hm, yea it is kinda strange. The ping URL is GET /v1/_me and para-cli setup just configures the CLI tool to connect to a specific Para server, but it doesn’t call /v1/_setup automatically. That is only needed to initialize the Para server. The CLI config file is located somewhere in your home directory.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can Only Access Site Via Localhost - Stack Overflow
1 Answer 1 ... The ERR_CONNECTION_RESET indicates that the communication between your browser and your server is cut short, in effect, your ...
Read more >
Can only access on the server with localhost
Issue: Cannot access from locally network computersCan access on server with localhost and UNC name. IP Does not work.Server is.
Read more >
Cannot access certificate server via https://localhost/certsrv or ...
Installed the CA role and web Enrollment. I cannot access the HTTPS version of the site from IIS, can only access the HTTP...
Read more >
How secure is binding to localhost in order to prevent remote ...
The first and main thing is to ensure that the firewall on your host is configured to properly drop incoming packets with source...
Read more >
Configuring MariaDB for Remote Client Access
This of course is not desirable if you want to use the TCP port from a remote host, so you must remove this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found