aaP_tom_smedley Figured it out, I needed map the container port to a TCP port.
But I'm having a different issue now. Here are my settings:

Which works I access access /www/wwwroot but I get this error when trying to save

Even though it should be read-write?
EDIT:
Seems to to do with ownership. Any files owned by root or www I can't not edit but files owned by "911" is editable, but I'm unsure who "911" is haha. Is there anyway of giving "Code-Server" access to my "wwwroot" folder? I would like to use it as an online IDE editor.
EDIT2:
Ended up using an SSH plugin and mapping the directories via SSH. It's not as fast as root but I'm unsure how to solve the above.