title: Need to change the port number from origin to another port number?
body: <p>I am newbie with Java and trying to code a very simple project java using springboot backend.</p>
  <p>At Springboot-backend -&gt; src/main/java -&gt; net.javaguides.springboot.controler -&gt; EMployeeController.java , I have this code</p>
  <pre><code>@CrossOrigin(origins = &quot;http://localhost:3000&quot;)
  </code></pre>
  <p>I thought that this code means when I open http://localhost:3000, the frontend I made will open.
  And when I tried it, It opened, as I wish.</p>
  <p>But when I changed it to <code>@CrossOrigin(origins = &quot;http://localhost:3050&quot;)</code> and, I open http://localhost:3050, the frontend page does not open as I wish.</p>
  <p>Could you please give me some ideas about my problem ? I am newbie and really want to study more. Thank you very much.</p>