WOO-COMMERCE REST API Authentication error

I did everything according to :-

https://woocommerce.github.io/woocommerce-rest-api-docs/#rest-api-keys

But when i click on approve button instead of redirecting to "return_url" page

its redirecting me to another page thats showing :-

"""""""""""" Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 localhost """""""""""

I checked my "return_url" and "callback_url" file and i found no error or any mistake !!!

Can someone help me figure this out?