codeapp icon indicating copy to clipboard operation
codeapp copied to clipboard

Does port transmit function supportted by code app?

Open ohhh-yang opened this issue 10 months ago • 4 comments

Whem I train a deep learning python model, I want to watch train loss or other train parameters by 'tensorboard --logdir=./logs', a website '127.0.0.1:6006' should be present in browser. But it does not works, the website can be assessed. Even I use '--bind-all' parameter. I have not try ssh port mapping.

ohhh-yang avatar Apr 24 '24 10:04 ohhh-yang

Hi. Instead of using the ssh command, please take a look at the built-in remote SSH feature where port forward can be configured by GUI.

https://code.thebaselab.com/guides/connecting-to-a-remote-server-ssh-ftp

bummoblizard avatar Apr 24 '24 10:04 bummoblizard

Thanks for reply. But my true problem is that when I run a web application in my server, however I can't assess the web in my local borwser with code App opened. Bulit-in remote ssh can simply add a new server, whereas can't config port forward. I wonder if the code app can just like VS Code, just Ctrl+click link in the terminal then we can access the web in local browser.

ohhh-yang avatar Apr 24 '24 11:04 ohhh-yang

Configure port forwarding here:

264929732-4c696d9d-518c-4232-a9b3-91cceca04182

bummoblizard avatar Apr 24 '24 11:04 bummoblizard

@ohhh-yang Did it work for you?

bummoblizard avatar Apr 29 '24 08:04 bummoblizard