Allow access to localhost resource

Why is this not working, everything is setup correct.