Skip to content
14paxton edited this page Aug 10, 2023 · 2 revisions

title: Configuring
permalink: ReactNotes/Configuring.md
category: ReactNotes
parent: ReactNotes
layout: default
has_children: false
share: true
shortRepo:

  • reactnotes
  • default


Table of contents {: .text-delta } 1. TOC {:toc}




Table of contents {: .text-delta } 1. TOC {:toc}



Change ip or port when running

https://dev.to/kevinmel2000/nodejs-reactjs-change-host-and-port-number-70b

https://stackoverflow.com/questions/42083275/running-react-code-on-other-machine

In Linux and Mac terminals, it would be

export PORT=5000
export HOST=IP ADDRESS

In Windows, the command is slightly different

env:PORT=5000
env:HOST=IP ADDRESS

Clone this wiki locally