Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7667843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:12:27+00:00 2026-05-31T15:12:27+00:00

I have Rstudio running on my desktop, and I can access it from the

  • 0

I have Rstudio running on my desktop, and I can access it from the web at http://my.desktop:8787.

From the Rstudio documentation, it appears that setting up a reverse proxy is a prudent security measure (please correct me if I am wrong).

I am using Ubuntu 11.04

In following the instructions for that page, I have installed ngnix and added the code snippets to /etc/nginx/nginx.conf:

http {
  server {
    listen 80;

    location / {
      proxy_pass http://localhost:8787;
      proxy_redirect http://localhost:8787/ $scheme://$host/;
    }
  }
}

sudo nginx restart -v returns the following error:

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Furthermore, if I include the following snippet (so that the link is to /rstudio instead of :8787):

location /rstudio/ {
  rewrite ^/rstudio/(.*)$ /$1 break;
  proxy_pass http://localhost:8787;
  proxy_redirect http://localhost:8787/ $scheme://$host/rstudio/;
}

sudo nginx restart -v returns the following error:

Restarting nginx: nginx: [emerg] unknown directive "location" in 
/etc/nginx/nginx.conf:93

I have two questions:

  1. How necessary is a reverse proxy server if I use a strong password?
  2. How can I get past these errors?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:12:28+00:00Added an answer on May 31, 2026 at 3:12 pm

    It looks like port 80 is already in use. Based on the interchanged “Apache” and “Nginx” in your title/question, I’m guessing you may have two web servers running.

    I’ll assume you want to pick Nginx and use that one, as that’s what you’re configuring. If that’s the case, you’ll want to shutdown Apache. (sudo /etc/init.d/httpd stop or sudo /etc/init.d/apache2 stop — you’ll have to look in /etc/init.d/ to see what service Apache runs as in Ubuntu).

    Then try restarting nginx to see if that fixes error #1.

    Regarding your first question, it is certainly a good idea to use a reverse proxy for security purposes, and it actually has nothing to do with the strength of your passwords. RStudio was not designed to be a web server, so there are bound to be a variety of vulnerabilities in it which are undiscovered — in part because it’ a new project, and in part because it’s not designed to be a solid web-server. Apache or nginx, on the other hand, are specially designed and hardened to be able to be exposed to public networks (such as the Internet) without jeopardizing the security of your system. So you’ll work with it the same (in terms of usernames and passwords), but you’ll be less vulnerable to advanced attacks from the external network.

    Keep in mind, as well, that the primary purpose of having a reverse proxy in place is so that the only publicly exposed service on your machine is Apache/Nginx — so be sure to configure your firewall to block port 8787; otherwise, there’s no point in configuring a reverse proxy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have a bunch of WCF REST services hosted on Azure that access a SQL
Have one Doubt In MVC Architecture we can able to pass data from Controller
I have a long running job that I'd like to run using EC2 +
I have been using Rstudio a great deal these days but recently noticed that
Have an app that can use tts to read text messages. It can also
Have 2 tables in Access 2007, both lists of certain tasks to be accomplished.
have a nice day. I got problem when trying to create an image from
I have a rather large chunk of code that breaks sometimes, as far as
Have converted devise new session from erb to Haml but doens't work, this is
have anyone can tell me what syntax error on this actionscript (actionscript3.0)? var rotY:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.