Way more information is required to answer that question but first .....
Find the ip address of your Ubuntu machine:
Then in Win11 open explorer and enter:
Code:
\\the-ip-address-you-got-from-above\share-name
What error message do you get?
The information required to make more than a guess would be the output of these commands in Ubuntu:
Code:
net usershare info --long