title: Is it possible to use react-router-dom to dynamically navigate through different localhosts?
body: <p>I have a web application that, for now, I am running via <code>localhost:3002</code>. 
  In this web application I am using cards from <code>reactstrap</code> and on this card there is a Link I am importing from <code>import { Link } from 'react-router-dom';</code>
  I am using this link to go to a specific detailed page of the application.</p>
  
  <p><strong>Question:</strong> I have in parallel another application running on <code>localhost:5000</code> which is a login system. From the <code>Link</code> I have in the Card described, can I go to the other application whos localhost is 5000 using the button below "PROJECT SPECS"? </p>
  
  <p><img src="https://i.imgur.com/stxepa9.png" alt="specs"></p>
  
  <p>Below the snippet of code:</p>
  
  <pre><code>import React from 'react';
  import { Card, CardTitle, CardSubtitle, CardText, CardBody, CardImg } from 'reactstrap';
  import { Link } from 'react-router-dom';
  
  &lt;CardTitle&gt;
      &lt;h3 className="thick"&gt;{ship.name}&lt;/h3&gt;
  &lt;/CardTitle&gt;
  
  &lt;CardText&gt;
      &lt;h6&gt;Project Details&lt;/h6&gt;
      &lt;p&gt;For a description of the project view the specification included&lt;/p&gt;
  &lt;/CardText&gt;
  &lt;div class="btn-toolbar"&gt;
      &lt;Link to="/localhost:5000/login" className="btn btn-primary mr-3"&gt;
      Go to Specs
      &lt;/Link&gt;
      &lt;Link to={`/vessels/${ship.slug}`} className="btn btn-primary"&gt;
  Go to vessels
  &lt;/Link&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>What I have done so far:</p>
  
  <p>1) From <a href="https://reacttraining.com/react-router/web/guides/quick-start" rel="nofollow noreferrer">this post</a> I was able to properly set the <code>react-router-dom</code> and in fact is working properly.</p>
  
  <p>2) I tried to link it to another <code>localhost:5000</code> because when I linked it to a specific page already present on my app, that would have worked by simply typing <code>&lt;Link to="/localhost:5000/" className="btn btn-primary mr-3"&gt;</code> , unfortunately it didn't work.</p>
  
  <p>3) I came across <a href="https://stackoverflow.com/questions/42123261/programmatically-navigate-using-react-router-v4">this too</a> which was useful to understand how to navigate through pages but not through different localhost</p>