# Difference between robust regression and weighted regression

In stata, robust regression (rreg) uses weights proportional to the size of the residuals. Is this conceptually the same as weighted OLS (weight by 1/variance)? And both can be applied, for example, in scenarios with heteroskedasticity?