Proxy setting for Recording

    My gatling is running on localhost 8008,

You mean your recorder, right?

i have set proxy setting with local host 8008,now i want to record a
scenario for another server.say i have added x.x.x.x in the
no proxy for section,

What?! If you do that, you tell your browser to do the exact opposite of
what you want: bypass the recorder for this host!!!