Connecting to the remote server while running the frontend locally